HTTP Request Smuggling: Invalid Transfer-Encoding in Waitress
Published Dec 20, 2019
5.1
MEDIUMCVSS 4.0
EPSS 2.38%
Description
Waitress through version 1.3.1 would parse the Transfer-Encoding header and only look for a single string value, if that value was not chunked it would fall through and use the Content-Length header instead. According to the HTTP standard Transfer-Encoding should be a comma separated list, with the inner-most encoding first, followed by any further transfer codings, ending with chunked. Requests sent with: "Transfer-Encoding: gzip, chunked" would incorrectly get ignored, and the request would use a Content-Length header instead to determine the body size of the HTTP message. This could allow for Waitress to treat a single request as multiple requests in the case of HTTP pipelining. This issue is fixed in Waitress 1.4.0.
Affected products
-
- Version <= 1.3.1StatusaffectedConstraints<=1.3.1
- Version
Configuration 1
- < 1.3.1
Configuration 2
- 1.10.0
Configuration 3
- 9.0
Configuration 4
- 30
- 31
No data.
Red Hat OpenStack Platform 15.0 (Stein)
python-waitress-0:1.4.2-1.el8ost
Fixed · RHSA-2020:0720
Red Hat Quay 3
quay/clair-rhel8:v3.4.0-25
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-bridge-operator-bundle:v3.4.0-3
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-bridge-operator-rhel8:v3.4.0-17
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-builder-qemu-rhcos-rhel8:v3.4.0-17
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-builder-rhel8:v3.4.0-18
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-container-security-operator-bundle:v3.4.0-2
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-container-security-operator-rhel8:v3.4.0-2
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-openshift-bridge-rhel8-operator:v3.4.0-17
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-operator-bundle:v3.4.0-89
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-operator-rhel8:v3.4.0-132
Fixed · RHSA-2021:0420
Red Hat Quay 3
quay/quay-rhel8:v3.4.0-51
Fixed · RHSA-2021:0420
Red Hat Ceph Storage 3
python-waitress
Fix deferred
Red Hat Ceph Storage 4
python-waitress
Fix deferred
Red Hat OpenStack Platform 13 (Queens)
python-waitress
Will not fix
Red Hat OpenStack Platform 16 (Train)
python-waitress
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 15.0 (Stein) | python-waitress-0:1.4.2-1.el8ost | Fixed | RHSA-2020:0720 |
| Red Hat Quay 3 | quay/clair-rhel8:v3.4.0-25 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-bridge-operator-bundle:v3.4.0-3 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-bridge-operator-rhel8:v3.4.0-17 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-builder-qemu-rhcos-rhel8:v3.4.0-17 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-builder-rhel8:v3.4.0-18 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-container-security-operator-bundle:v3.4.0-2 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-container-security-operator-rhel8:v3.4.0-2 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-openshift-bridge-rhel8-operator:v3.4.0-17 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-operator-bundle:v3.4.0-89 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-operator-rhel8:v3.4.0-132 | Fixed | RHSA-2021:0420 |
| Red Hat Quay 3 | quay/quay-rhel8:v3.4.0-51 | Fixed | RHSA-2021:0420 |
| Red Hat Ceph Storage 3 | python-waitress | Fix deferred | n/a |
| Red Hat Ceph Storage 4 | python-waitress | Fix deferred | n/a |
| Red Hat OpenStack Platform 13 (Queens) | python-waitress | Will not fix | n/a |
| Red Hat OpenStack Platform 16 (Train) | python-waitress | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
All affected Red Hat products ship but do not use the flawed version of python-waitress. The impact for these products is therefore rated as having a security impact of Low. In Red Hat OpenStack Platform 13, because the flawed code is not used and the fix would require a substantial amount of development, no update will be provided at this time for the RHOSP13 python-waitress package.
Metrics
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 2.38% (0.02379) | 83.30th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.54% (0.02545) | 82.91th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.45% (0.00445) | 60.50th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.58% (0.01580) | 70.00th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.45% (0.00445) | 61.30th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.27% (0.00275) | 68.94th | v3 (v2023.03.01) |
| Apr 14, 2024 | 0.27% (0.00275) | 67.70th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.39% (0.00393) | 72.68th | v3 (v2023.03.01) |
| Nov 26, 2023 | 0.39% (0.00393) | 70.46th | v3 (v2023.03.01) |
| Nov 10, 2023 | 0.34% (0.00344) | 68.38th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.36% (0.00358) | 68.98th | v3 (v2023.03.01) |
| Oct 24, 2023 | 0.46% (0.00464) | 72.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.48% (0.00478) | 72.04th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.93% (0.08934) | 82.99th | v2 (v2022.01.01) |
| Feb 3, 2022 | 6.21% (0.06208) | 81.93th | v1 |
| Jan 6, 2022 | 6.21% (0.06208) | 81.75th | v1 |
| Jan 5, 2022 | 1.45% (0.01454) | 72.86th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (17)
- https://access.redhat.com/errata/RHSA-2020:0720 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-16786 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1791415 Issue Tracking
- https://docs.pylonsproject.org/projects/waitress/en/latest/#id6
- https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes x_refsource_MISCRelease NotesVendor Advisory
- https://github.com/Pylons/waitress/commit/f11093a6b3240fc26830b6111e826128af7771c3 x_refsource_MISCPatchThird Party Advisory
- https://github.com/Pylons/waitress/security/advisories/GHSA-g2xc-35jw-c63p x_refsource_CONFIRMThird Party Advisory
- https://github.com/advisories/GHSA-g2xc-35jw-c63p Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2019-137.yaml
- https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYEOTGWJZVKPRXX2HBNVIYWCX73QYPM5/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GVDHR2DNKCNQ7YQXISJ45NT4IQDX3LJ7
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYEOTGWJZVKPRXX2HBNVIYWCX73QYPM5
- https://nvd.nist.gov/vuln/detail/CVE-2019-16786
- https://www.cve.org/CVERecord?id=CVE-2019-16786
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISCPatchThird Party Advisory
Change history (0)
No recorded changes yet.