Skip to content

CVE-2020-5236 Catastrophic backtracking in regex allows Denial of Service in Waitress

MediumCVSS 6.5 EPSS 2.4%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

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.

Affected products

ProductAffected versionsFixed in
pypi waitress(PyPI) >= 1.4.2, < 1.4.3 1.4.3
pypi waitress(PyPI) = 1.4.2 No fix listed
pypi waitress(PyPI) < 1.4.3 1.4.3
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.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.8.10 No fix listed
pypi waitress(PyPI) = 0.8.11b0 No fix listed
pypi waitress(PyPI) = 0.9.0b0 No fix listed
pypi waitress(PyPI) = 0.9.0b1 No fix listed
Show 19 more
ProductAffected versionsFixed in
pypi waitress(PyPI) = 0.9.0 No fix listed
pypi waitress(PyPI) = 1.0a1 No fix listed
pypi waitress(PyPI) = 1.0a2 No fix listed
pypi waitress(PyPI) = 1.0.0 No fix listed
pypi waitress(PyPI) = 1.0.1 No fix listed
pypi waitress(PyPI) = 1.0.2 No fix listed
pypi waitress(PyPI) = 1.1.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.0 No fix listed
pypi waitress(PyPI) = 1.2.1 No fix listed
pypi waitress(PyPI) = 1.3.0b0 No fix listed
pypi waitress(PyPI) = 1.3.0 No fix listed
pypi waitress(PyPI) = 1.3.1 No fix listed
pypi waitress(PyPI) = 1.4.0 No fix listed
pypi waitress(PyPI) = 1.4.1 No fix listed
agendaless waitress = 1.4.2 No fix listed
Pylons waitress = = 1.4.2 No fix listed

References