Vulnerabilities in pkg:pypi/waitress
PACKAGEGHSA-j7j6-7hfx-5522 is a HIGH (CVSS 7.5) inconsistent interpretation of http requests vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves inconsistent interpretation of http requests in waitress. Remediation is available by upgrading affected packages to version 1.4.0.
pkg:pypi/waitress
Vulnerability advisories affecting package pkg:pypi/waitress. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j7j6-7hfx-5522 | - | HIGH | Duplicate Advisory: Inconsistent Interpretation of HTTP Requests in Waitress |
| GHSA-4ppp-gpcr-7qf6 | CVE-2019-16792 | CRITICAL | HTTP Request Smuggling: Content-Length Sent Twice in Waitress |
| GHSA-3f84-rpwh-47g6 | CVE-2024-49769 | HIGH | Waitress vulnerable to DoS leading to high CPU usage/resource exhaustion |
| GHSA-9298-4cf8-g4wj | CVE-2024-49768 | CRITICAL | Waitress has request processing race condition in HTTP pipelining with invalid first request |
| GHSA-f5x9-8jwc-25rw | CVE-2022-31015 | HIGH | Uncaught Exception (due to a data race) leads to process termination in Waitress |
| GHSA-4f7p-27jc-3c36 | CVE-2022-24761 | HIGH | HTTP Request Smuggling in waitress |
| GHSA-73m2-3pwg-5fgc | CVE-2020-5236 | MODERATE | Catastrophic backtracking in regex allows Denial of Service in Waitress |
| GHSA-968f-66r5-5v74 | CVE-2019-16789 | MODERATE | HTTP Request Smuggling in Waitress: Invalid whitespace characters in headers (Follow-up) |
| GHSA-g2xc-35jw-c63p | CVE-2019-16786 | MODERATE | HTTP Request Smuggling: Invalid Transfer-Encoding in Waitress |
| GHSA-pg36-wpm5-g57p | CVE-2019-16785 | MODERATE | HTTP Request Smuggling: LF vs CRLF handling in Waitress |
| GHSA-m5ff-3wj3-8ph4 | - | HIGH | HTTP Request Smuggling: Invalid whitespace characters in headers in Waitress |
GHSA-j7j6-7hfx-5522 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix GHSA-j7j6-7hfx-5522
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install waitress>=1.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show waitress
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-j7j6-7hfx-5522, inspect your installed packages using pip:
pip show waitress
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.0), your application is affected.
Note: The pip show waitress command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-j7j6-7hfx-5522 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
waitress
|
PyPI |
< 1.4.0
|
1.4.0
|
References
Frequently Asked Questions
What is GHSA-j7j6-7hfx-5522?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-j7j6-7hfx-5522?
Is waitress affected?
What is the CVSS score of GHSA-j7j6-7hfx-5522?
What CWE is associated with GHSA-j7j6-7hfx-5522?
How can I check PyPI dependencies for GHSA-j7j6-7hfx-5522?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j7j6-7hfx-5522",
"modified" : "2026-02-25T14:07:30Z",
"published" : "2022-05-24T17:07:06Z",
"withdrawn" : "2026-01-22T22:34:03Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Inconsistent Interpretation of HTTP Requests in Waitress",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-4ppp-gpcr-7qf6. This link is maintained to preserve external references.\n\n## Original Description\nWaitress 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "waitress"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.3.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Pylons/waitress/security/advisories/GHSA-4ppp-gpcr-7qf6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-16792"
}, {
"type" : "WEB",
"url" : "https://github.com/Pylons/waitress/commit/575994cd42e83fd772a5f7ec98b2c56751bd3f65"
}, {
"type" : "WEB",
"url" : "https://docs.pylonsproject.org/projects/waitress/en/latest/#security-fixes"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Pylons/waitress"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2022/05/msg00011.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuapr2022.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-444" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-27T16:10:41Z",
"nvd_published_at" : "2020-01-22T19:15:00Z"
}
}