CVE-2022-31015
CVE-2022-31015 is a medium-severity vulnerability in Agendaless Waitress with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-248.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (68th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-248
- Affected product: Agendaless Waitress
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-31015?
- 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.
- How severe is CVE-2022-31015?
- CVE-2022-31015 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2022-31015 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-31015?
- CVE-2022-31015 affects Agendaless Waitress. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-31015?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-31015 published?
- CVE-2022-31015 was published on 2022-05-31 and last updated on 2026-06-17.
References
- https://github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48
- https://github.com/Pylons/waitress/issues/374
- https://github.com/Pylons/waitress/pull/377
- https://github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw
Affected products (1)
- cpe:2.3:a:agendaless:waitress:*:*:*:*:*:*:*:*
More vulnerabilities in Agendaless Waitress
- CVE-2024-49768 — Critical (CVSS 9.1): Waitress is a Web Server Gateway Interface server for Python 2 and 3. A remote client may send a request that is…
- CVE-2024-49769 — High (CVSS 7.5): Waitress is a Web Server Gateway Interface server for Python 2 and 3. When a remote client closes the connection before…
- CVE-2022-24761 — High (CVSS 7.5): Waitress is a Web Server Gateway Interface server for Python 2 and 3. When using Waitress versions 2.1.0 and prior…
- CVE-2019-16792 — High (CVSS 7.1): Waitress through version 1.3.1 allows request smuggling by sending the Content-Length header twice. Waitress would…
- CVE-2019-16789 — High (CVSS 7.1): In Waitress through version 1.4.0, if a proxy server is used in front of waitress, an invalid request may be sent by an…
- CVE-2019-16786 — High (CVSS 7.1): Waitress through version 1.3.1 would parse the Transfer-Encoding header and only look for a single string value, if…
All CVEs affecting Agendaless Waitress →
Other CWE-248 vulnerabilities
- CVE-2018-11466 — Critical (CVSS 9.8): A vulnerability has been identified in SINUMERIK 808D V4.7 (All versions), SINUMERIK 808D V4.8 (All versions),…
- CVE-2024-42037 — Critical (CVSS 9.3): Vulnerability of uncaught exceptions in the Graphics module Impact: Successful exploitation of this vulnerability may…
- CVE-2025-53620 — Critical (CVSS 9.2): @builder.io/qwik-city is the meta-framework for Qwik. When a Qwik Server Action QRL is executed it dynamically load the…
- CVE-2026-46689 — High (CVSS 8.7): Kanidm is an identity management platform. Prior to version 1.9.3, a single unauthenticated GET to any /scim/v1/...…
- CVE-2026-9509 — High (CVSS 8.7): An unhandled exception in Suprema BioStar 2 (Server), versions 2.9.8, 2.9.10, and 2.9.11, that allows an…
- CVE-2025-9124 — High (CVSS 8.7): A denial-of-service security issue in the affected product. The security issue stems from a fault occurring when a…