CVE-2020-5236

Medium

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.

SeverityMedium
CVSS5.7
Exploit probability—
ProductAgendaless Waitress
PublishedFeb 4, 2020
First seenFeb 4, 2020

How to fix

Update
  • waitress1.4.3 or later

Affected products

ProductAffected versionsFixed in
agendaless waitress1.4.2—
waitressPyPI1.4.2 ≤ v < 1.4.3, v < 1.4.31.4.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-5236 · Agendaless Waitress · Dark Radar