
CVE catalog
CVE-2022-31015
waitress affected and fixed versions
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.
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.50% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debiantrixie | waitress | 3.0.2-1 | Fixed | [CVE-2022-31015] |
| Debiansid | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debiansid | waitress | 3.0.2-2 | Fixed | [CVE-2022-31015] |
| Debianforky | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debianforky | waitress | 3.0.2-2 | Fixed | [CVE-2022-31015] |
| Debianbookworm | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debianbookworm | waitress | 2.1.2-2+deb12u1 | Fixed | [CVE-2022-31015] |
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debianbookworm | waitress | 2.1.2-2+deb12u1 | Fixed | [CVE-2022-31015] |
| Debianforky | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debianforky | waitress | 3.0.2-2 | Fixed | [CVE-2022-31015] |
| Debiansid | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debiansid | waitress | 3.0.2-2 | Fixed | [CVE-2022-31015] |
| Debiantrixie | waitress | 2.1.2-1 | FixedDistribution-reported fixed boundary | [CVE-2022-31015] |
| Debiantrixie | waitress | 3.0.2-1 | Fixed | [CVE-2022-31015] |
Original provider fields
{
"package_releases": [
{
"name": "waitress",
"status": "fixed",
"release": "sid",
"version": "3.0.2-2"
},
{
"name": "waitress",
"status": "fixed",
"release": "forky",
"version": "3.0.2-2"
},
{
"name": "waitress",
"status": "fixed",
"release": "trixie",
"version": "3.0.2-1"
},
{
"name": "waitress",
"status": "fixed",
"release": "bookworm",
"version": "2.1.2-2+deb12u1"
}
],
"fixed_versions": [
{
"bug": 1012315,
"name": "waitress",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "2.1.2-1"
},
{
"bug": 1012315,
"name": "waitress",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "2.1.2-1"
},
{
"bug": 1012315,
"name": "waitress",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "2.1.2-1"
},
{
"bug": 1012315,
"name": "waitress",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "2.1.2-1"
}
],
"distribution_packages": []
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-waitress]Unknown
Source package: [waitress]
Details (2)
2.1.2-2+deb12u1· all · bookwormFixed · Fixed:
2.1.2-1dsa · waitress · debian · bookworm
2.1.2-2+deb12u1· all · bookwormFixed · Fixed:
2.1.2-1dsa · waitress · debian · bookworm
- [python-waitress-doc]Unknown
Source package: [waitress]
Details (2)
2.1.2-2+deb12u1· all · bookwormFixed · Fixed:
2.1.2-1dsa · waitress · debian · bookworm
2.1.2-2+deb12u1· all · bookwormFixed · Fixed:
2.1.2-1dsa · waitress · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_12346-1.json]
- [https://security-tracker.debian.org/tracker/CVE-2022-31015]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-31015.json]
[Debian Security Tracker] · [FIRST EPSS] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]