CVE-2020-5236
MEDIUM 6.5CVSS 3.1Catastrophic backtracking in regex allows Denial of Service in Waitress
Waitress version 1.4.2 allows a DOS attack When waitress receives a header that contains invalid characters. When a header like "Bad-header: xxxxxxxxxxxxxxx\x10" is received, it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions. This allows an attacker to send a single request with an invalid header and take the service offline. This issue was introduced in version 1.4.2 when the regular expression was updated to attempt to match the behaviour required by errata associated with RFC7230. The regular expression that is used to validate incoming headers has been updated in version 1.4.3, it is recommended that people upgrade to the new version of Waitress as soon as possible.
- Published
- 4 Feb 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-73m2-3pwg-5fgcPYSEC-2020-155
- Sources
- NVDJSONOSV GHSA-73m2-3pwg-5fgcJSONOSV PYSEC-2020-155JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:L/Au:S/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | agendaless | waitresscpe:2.3:a:agendaless:waitress:1.4.2:*:*:*:*:*:*:* |
= 1.4.2 | |
| OSV | PyPI | waitress | >= 1.4.2, < 1.4.3 | 1.4.3 |
| OSV | PyPI | waitress | < 1.4.3 | 1.4.3 |
References
- https://github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f · Patch, Third Party Advisory, WEB, FIX
- https://github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-5236 · ADVISORY
- https://github.com/Pylons/waitress · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2020-155.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 4 Feb 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Feb 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Feb 2020)