Advisory

PYSEC-2020-155

Also known as: CVE-2020-5236, GHSA-73m2-3pwg-5fgc

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2020-02-04 03:15 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

waitress

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.3 (ecosystem)

Fixed versions

1.4.3

Fix

  • Fixed version 1.4.3
    pip install --upgrade waitress==1.4.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences