CVE-2020-5236
Catastrophic backtracking in regex allows Denial of Service in Waitress
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Waitress versión 1.4.2, permite un ataque de DOS cuando waitress recibe un encabezado que contiene caracteres no válidos. Cuando un encabezado como "Bad-header: xxxxxxxxxxxxxxx\x10" es recibido, causará que el motor de expresión regular retroceda catastróficamente, provocando que el proceso utilice el 100% del tiempo de CPU y bloquee cualquier otras interacciones. Esto permite a un atacante enviar una única petición con un encabezado no válido y desconectar el servicio. Este problema fue introducido en la versión 1.4.2 cuando se actualizó la expresión regular para intentar hacer coincidir el comportamiento requerido por las erratas asociadas con RFC7230. La expresión regular que se usa para comprobar los encabezados entrantes se actualizó en la versión 1.4.3, se recomienda que las personas actualicen a la nueva versión de Waitress tan pronto como sea posible.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-01-02 CVE Reserved
- 2020-02-04 CVE Published
- 2020-02-06 First Exploit
- 2023-03-08 EPSS Updated
- 2024-08-04 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-400: Uncontrolled Resource Consumption
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/Pylons/waitress/security/advisories/GHSA-73m2-3pwg-5fgc | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://github.com/motikan2010/CVE-2020-5236 | 2020-02-06 |
URL | Date | SRC |
---|---|---|
https://github.com/Pylons/waitress/commit/6e46f9e3f014d64dd7d1e258eaf626e39870ee1f | 2020-02-06 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Agendaless Search vendor "Agendaless" | Waitress Search vendor "Agendaless" for product "Waitress" | 1.4.2 Search vendor "Agendaless" for product "Waitress" and version "1.4.2" | - |
Affected
|