CVE-2019-16785 HTTP Request Smuggling: LF vs CRLF handling in Waitress
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
Description
Waitress through version 1.3.1 implemented a "MAY" part of the RFC7230 which states: "Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR." Unfortunately if a front-end server does not parse header fields with an LF the same way as it does those with a CRLF it can lead to the front-end and the back-end server parsing the same HTTP message in two different ways. This can lead to a potential for HTTP request smuggling/splitting whereby Waitress may see two requests while the front-end server only sees a single HTTP message. This issue is fixed in Waitress 1.4.0.
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.3.1 | after 1.3.1 | Fixed |
| alpine/py3-waitress(Alpine v3.11) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.12) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.13) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.14) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.15) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.16) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.17) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.18) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.19) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.20) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.21) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.22) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.23) | < 1.4.0-r0 | 1.4.0-r0 | Fixed |
| alpine/py3-waitress(Alpine v3.24) | < 1.4.0-r0 | 1.4.0-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.3.1, <= 1.3.1 | after 1.3.1 | Fixed |
| pypi waitress(PyPI) | < 1.4.0; = 0.1; = 0.2; = 0.3 +34 more | 1.4.0 | 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.0 | 1.4.0 |
| 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 42 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 |
| 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.3.1 | 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.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.12) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.13) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.14) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.15) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.16) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.17) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.18) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.19) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.20) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.21) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.22) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.23) | < 1.4.0-r0 | 1.4.0-r0 |
| alpine/py3-waitress(Alpine:v3.24) | < 1.4.0-r0 | 1.4.0-r0 |
| Pylons waitress | >= <= 1.3.1, <= 1.3.1 | No fix listed |
| 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 exploit issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- RHSA-2020:0720 third-party-advisory vendor-advisory
- docs.pylonsproject.org issue-tracking vendor-advisory
- github.com product
- 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-16785 vendor-advisory
- github.com
- FEDORA-2020-bdcc8ffc24 vendor-advisory
- FEDORA-2020-65a7744e38 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking