QID 983116
QID 983116: Python (pip) Security Update for waitress (GHSA-73m2-3pwg-5fgc)
Security update has been released for waitress to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
When waitress receives a header that contains invalid characters it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions.
This would allow an attacker to send a single request with an invalid header and take the service offline.
Invalid header example:
```
Bad-header: xxxxxxxxxxxxxxx\x10
```
Increasing the number of `x`'s in the header will increase the amount of time Waitress spends in the regular expression engine.
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.
If you have deployed a reverse proxy in front of Waitress it may already be rejecting requests that include invalid headers.
- GHSA-73m2-3pwg-5fgc -
github.com/advisories/GHSA-73m2-3pwg-5fgc
CVEs related to QID 983116
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-73m2-3pwg-5fgc | waitress |
|