Resource exhaustion in Agendaless Waitress
CVE-2020-5236
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.024, 84.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Agendaless Waitress — versions 1.4.2
- Pylons Waitress — versions = 1.4.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- motikan2010/CVE-2020-5236 (3 stars, last pushed 2020-02-06): Waitress 1.4.2 ReDoS - CVE-2020-5236 (Blog Sample Code)
Also mentioned in 8 other repositories (0xT11/CVE-POC, ARPSyndicate/cvemon, engn33r/awesome-redos-security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc (Third Party Advisory)
- github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f (Patch, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.