🛡️ CVE-2022-31015 on Debian — waitress
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.
Distribution advisory
This page covers CVE-2022-31015 as tracked by Debian, for the package waitress. The fix is available in version 2.1.2-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Weakness class
DEBIAN-CVE-2022-31015 is classified as CWE-248: Uncaught Exception. An exception is thrown from a function, but it is not caught.
Affected software
DEBIAN-CVE-2022-31015 is recorded against 1 package.
- waitress (fixed in 2.1.2-1)
Timeline and source
Published on 31 May 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-31015 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| waitress | — | 2.1.2-1 |
References
Similar Threats
- Unknown CLSA-2025-1750810247
- Unknown CLSA-2025-1750810248
- Unknown ECHO-283f-0619-628b
- Unknown ECHO-b844-fa43-fd25
- Unknown DLA-3955-1
Site Security Check
Is waitress part of your stack?
DEBIAN-CVE-2022-31015 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.