CVE-2019-16792HTTP Request Smuggling: Content-Length Sent Twice in Waitress
Waitress through version 1.3.1 allows request smuggling by sending the Content-Length header twice. Waitress would header fold a double Content-Length header and due to being unable to cast the now comma separated value to an integer would set the Content-Length to 0 internally. If two Content-Length headers are sent in a single request, Waitress would treat the request as having no body, thereby treating the body of the request as a new request in HTTP pipelining. This issue is fixed in Waitress 1.4.0.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | waitress | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | waitress | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | waitress | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | waitress | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | waitress | Fix pending | UBUNTU-CVE-2019-16792 | |
| Ubuntu 16.04 | waitress | Fix pending | UBUNTU-CVE-2019-16792 | |
| Ubuntu 14.04 | waitress | Fix pending | ||
| Debian 14 | waitress | Fixed | 1.4.1-1 | DEBIAN-CVE-2019-16792 |
| Debian 13 | waitress | Fixed | 1.4.1-1 | DEBIAN-CVE-2019-16792 |
| Debian 12 | waitress | Fixed | 1.4.1-1 | DEBIAN-CVE-2019-16792 |
| PyPI library | waitress | Fixed | 1.4.0 | PYSEC-2020-178 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Pylons Waitress: affected: <= 1.3.1 to 1.3.1
References
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes
- https://github.com/Pylons/waitress/security/advisories/GHSA-4ppp-gpcr-7qf6
- https://github.com/Pylons/waitress/commit/575994cd42e83fd772a5f7ec98b2c56751bd3f65
- https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.