Missing Release of Resource after Effective Lifetime Affecting waitress package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-WAITRESS-8310428
  • published5 Nov 2024
  • disclosed29 Oct 2024

Introduced: 29 Oct 2024

CVE-2024-49769  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 waitress.

NVD Description

Note: Versions mentioned in the description apply only to the upstream waitress package and not the waitress package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

Waitress is a Web Server Gateway Interface server for Python 2 and 3. When a remote client closes the connection before waitress has had the opportunity to call getpeername() waitress won't correctly clean up the connection leading to the main thread attempting to write to a socket that no longer exists, but not removing it from the list of sockets to attempt to process. This leads to a busy-loop calling the write function. A remote attacker could run waitress out of available sockets with very little resources required. Waitress 3.0.1 contains fixes that remove the race condition.

CVSS Scores

version 3.1