Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. waitress
  4. ›
  5. CVE-2022-31015

CVE-2022-31015: Uncaught Exception (due to a data race) leads to process termination in Waitress

June 2, 2022 (updated November 19, 2024)

Waitress 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.

References

  • github.com/Pylons/waitress
  • github.com/Pylons/waitress/commit/4f6789b035610e0552738cdc4b35ca809a592d48
  • github.com/Pylons/waitress/issues/374
  • github.com/Pylons/waitress/pull/377
  • github.com/Pylons/waitress/security/advisories/GHSA-f5x9-8jwc-25rw
  • github.com/advisories/GHSA-f5x9-8jwc-25rw
  • github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2022-205.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-31015

Code Behaviors & Features

Detect and mitigate CVE-2022-31015 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.0 before 2.1.2

Fixed versions

  • 2.1.2

Solution

Upgrade to version 2.1.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception
  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

pypi/waitress/CVE-2022-31015.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.