CVE-2019-16789 HTTP Request Smuggling in Waitress: Invalid whitespace characters in headers
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
Description
In Waitress through version 1.4.0, if a proxy server is used in front of waitress, an invalid request may be sent by an attacker that bypasses the front-end and is parsed differently by waitress leading to a potential for HTTP request smuggling. Specially crafted requests containing special whitespace characters in the Transfer-Encoding header would get parsed by Waitress as being a chunked request, but a front-end server would use the Content-Length instead as the Transfer-Encoding header is considered invalid due to containing invalid characters. If a front-end server does HTTP pipelining to a backend Waitress server this could lead to HTTP request splitting which may lead to potential cache poisoning or unexpected information disclosure. This issue is fixed in Waitress 1.4.1 through more strict HTTP field validation.
Upgrade path
26 packages: 20 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/waitress(Ubuntu 16.04) | = 0.8.9-2ubuntu1; = 0.8.10-1; All versions | No fix listed | No fix yet |
| ubuntu/waitress(Ubuntu 18.04) | = 1.0.1-1; All versions | No fix listed | No fix yet |
| agendaless waitress | <= 1.4.0 | after 1.4.0 | Fixed |
| alpine/py3-waitress(Alpine v3.11) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.12) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.13) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.14) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.15) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.16) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.17) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.18) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.19) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.20) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.21) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.22) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.23) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.24) | < 1.4.1-r0 | 1.4.1-r0 | Fixed |
| debian/waitress(Debian 12) | < 1.4.1-1 | 1.4.1-1 | Fixed |
| debian/waitress(Debian 13) | < 1.4.1-1 | 1.4.1-1 | Fixed |
| debian/waitress(Debian 14) | < 1.4.1-1 | 1.4.1-1 | Fixed |
| Pylons waitress | >= < 1.4.1, < 1.4.1 | 1.4.1 | Fixed |
| pypi waitress(PyPI) | < 1.4.1; < 1.4.2; = 0.1; = 0.2 +37 more | 1.4.1, 1.4.2 | Fixed |
| debian linux | = 9.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 30; = 31 | No fix listed | Versions listed |
| oracle communications cloud native core network function cloud native environment | = 1.10.0 | No fix listed | Versions listed |
| redhat openstack | = 15 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi waitress(PyPI) | < 1.4.2 | 1.4.2 |
| pypi waitress(PyPI) | = 0.1 | No fix listed |
| pypi waitress(PyPI) | = 0.2 | No fix listed |
| pypi waitress(PyPI) | = 0.3 | No fix listed |
| pypi waitress(PyPI) | = 0.4 | No fix listed |
| pypi waitress(PyPI) | = 0.5 | No fix listed |
| pypi waitress(PyPI) | = 0.6 | No fix listed |
| pypi waitress(PyPI) | = 0.6.1 | No fix listed |
| pypi waitress(PyPI) | = 0.7 | No fix listed |
| pypi waitress(PyPI) | = 0.8 | No fix listed |
| pypi waitress(PyPI) | = 0.8.1 | No fix listed |
| pypi waitress(PyPI) | = 0.8.10 | No fix listed |
| pypi waitress(PyPI) | = 0.8.11b0 | No fix listed |
| pypi waitress(PyPI) | = 0.8.2 | No fix listed |
| pypi waitress(PyPI) | = 0.8.3 | No fix listed |
| pypi waitress(PyPI) | = 0.8.4 | No fix listed |
| pypi waitress(PyPI) | = 0.8.5 | No fix listed |
| pypi waitress(PyPI) | = 0.8.6 | No fix listed |
| pypi waitress(PyPI) | = 0.8.7 | No fix listed |
| pypi waitress(PyPI) | = 0.8.8 | No fix listed |
| pypi waitress(PyPI) | = 0.8.9 | No fix listed |
| pypi waitress(PyPI) | = 0.9.0 | No fix listed |
| pypi waitress(PyPI) | = 0.9.0b0 | No fix listed |
| pypi waitress(PyPI) | = 0.9.0b1 | No fix listed |
| pypi waitress(PyPI) | = 1.0.0 | No fix listed |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi waitress(PyPI) | = 1.0.1 | No fix listed |
| pypi waitress(PyPI) | = 1.0.2 | No fix listed |
| pypi waitress(PyPI) | = 1.0a1 | No fix listed |
| pypi waitress(PyPI) | = 1.0a2 | No fix listed |
| pypi waitress(PyPI) | = 1.1.0 | No fix listed |
| pypi waitress(PyPI) | = 1.2.0 | No fix listed |
| pypi waitress(PyPI) | = 1.2.0b1 | No fix listed |
| pypi waitress(PyPI) | = 1.2.0b2 | No fix listed |
| pypi waitress(PyPI) | = 1.2.0b3 | No fix listed |
| pypi waitress(PyPI) | = 1.2.1 | No fix listed |
| pypi waitress(PyPI) | = 1.3.0 | No fix listed |
| pypi waitress(PyPI) | = 1.3.0b0 | No fix listed |
| pypi waitress(PyPI) | = 1.3.1 | No fix listed |
| pypi waitress(PyPI) | = 1.4.0 | No fix listed |
| pypi waitress(PyPI) | = 1.4.1 | No fix listed |
| pypi waitress(PyPI) | < 1.4.1 | 1.4.1 |
| debian/waitress(Debian:12) | < 1.4.1-1 | 1.4.1-1 |
| debian/waitress(Debian:13) | < 1.4.1-1 | 1.4.1-1 |
| debian/waitress(Debian:14) | < 1.4.1-1 | 1.4.1-1 |
| agendaless waitress | <= 1.4.0 | No fix listed |
| oracle communications cloud native core network function cloud native environment | = 1.10.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| redhat openstack | = 15 | No fix listed |
| alpine/py3-waitress(Alpine:v3.11) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.12) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.13) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.14) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.15) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.16) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.17) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.18) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.19) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.20) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.21) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.22) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.23) | < 1.4.1-r0 | 1.4.1-r0 |
| alpine/py3-waitress(Alpine:v3.24) | < 1.4.1-r0 | 1.4.1-r0 |
| Pylons waitress | >= < 1.4.1, < 1.4.1 | 1.4.1 |
| ubuntu/waitress(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/waitress(Ubuntu:16.04) | = 0.8.9-2ubuntu1 | No fix listed |
| ubuntu/waitress(Ubuntu:16.04) | = 0.8.10-1 | No fix listed |
| ubuntu/waitress(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/waitress(Ubuntu:18.04) | = 1.0.1-1 | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com broken-link issue-tracking patch third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch
- RHSA-2020:0720 third-party-advisory vendor-advisory
- docs.pylonsproject.org issue-tracking release-notes vendor-advisory
- github.com product
- github.com vendor-advisory
- github.com
- [debian-lts-announce] 20220512 [SECURITY] [DLA 3000-1] waitress security update mailing-list third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.oracle.com patch third-party-advisory
- Debian Security Tracker CVE-2019-16789 vendor-advisory
- FEDORA-2020-bdcc8ffc24 vendor-advisory
- FEDORA-2020-65a7744e38 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- github.com issue-tracking
- www.cve.org issue-tracking