CVE-2022-31015
published medium CVSS 3.1 · 6.5Uncaught Exception (due to a data race) leads to process termination in Waitress
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Pylons | — | waitress>= 2.1.0, < 2.1.2 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-waitressaarch64 | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| Alpine Linux | v3.16 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.18 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.19 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-waitress | Fixed | 2.1.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-waitressppc64le | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-waitresss390x | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-waitressx86_64 | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-waitressaarch64 | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-waitressppc64le | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-waitresss390x | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-waitressx86_64 | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-waitressaarch64 | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-waitressppc64le | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-waitresss390x | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-waitressx86_64 | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-waitressaarch64 | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-waitressppc64le | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-waitresss390x | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-waitressx86_64 | Advisory build | 3.0.2-1.4 | OPENSUSE-SU-2025:15108-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-waitressaarch64 | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-waitressppc64le | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-waitresss390x | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-waitressx86_64 | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-waitressaarch64 | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-waitressppc64le | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-waitresss390x | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-waitressx86_64 | Advisory build | 2.1.2-3.1 | OPENSUSE-SU-2024:12346-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Pylons | waitress | >= 2.1.0, < 2.1.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-248 CWE-248: Uncaught Exception
- CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
4Provider assertions
3GitHub_M · cna
Uncaught Exception (due to a data race) leads to process termination in Waitress
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6d2d074c236fbe6db4fe7cf91ec27093db188f68ac268cf5191e73160f324ab3
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record