Missing Release of Resource after Effective Lifetime Affecting waitress package, versions <3.0.1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.38% (70th 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-DEBIANUNSTABLE-WAITRESS-8310502
  • published30 Oct 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?

Upgrade Debian:unstable waitress to version 3.0.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream waitress package and not the waitress package as distributed by Debian. See How to fix? for Debian:unstable 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 Base Scores

version 3.1