Security mailing lists by PureSourceCode

CVE-2020-5236

MEDIUM 6.5CVSS 3.1

Catastrophic 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD agendaless waitress
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.