CVE-2022-31015 Details
Description
Waitress is a Web Server Gateway Interface server for Python 2 and 3. Waitress versions 2.1.0 and 2.1.1 may terminate early due to a thread closing a socket while the main thread is about to call select(). This will lead to the main thread raising an exception that is not handled and then causing the entire application to be killed. This issue has been fixed in Waitress 2.1.2 by no longer allowing the WSGI thread to close the socket. Instead, that is always delegated to the main thread. There is no work-around for this issue. However, users using waitress behind a reverse proxy server are less likely to have issues if the reverse proxy always reads the full response.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48 | CVE | PatchThird Party Advisory |
| https://github.com/Pylons/waitress/issues/374 | CVE | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/Pylons/waitress/pull/377 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw | CVE | Third Party Advisory |
| https://github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48 | [email protected] | PatchThird Party Advisory |
| https://github.com/Pylons/waitress/issues/374 | [email protected] | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/Pylons/waitress/pull/377 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-248 | Uncaught Exception | [email protected] |
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| agendaless waitress | >= 2.1.0, < 2.1.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jun 14, 2022 | Initial Analysis | [email protected] |