Live threats

All CVEs / Agendaless

CVE-2022-31015Agendaless Waitress

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
May 31, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-248, CWE-362
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Waitress.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI waitress ≥ 2.1.0 < 2.1.2 2.1.2 pip install "waitress>=2.1.2"
PyPI waitress ≥ 2.1.0 < 2.1.2 2.1.2 pip install "waitress>=2.1.2"

Per OSV / GitHub Advisories (GHSA-f5x9-8jwc-25rw, PYSEC-2022-205). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
agendalesswaitress≥ 2.1.0 < 2.1.2

Official sources

References

Links published by the sources. Open them with care.