ghsa-3f84-rpwh-47g6
Vulnerability from github
Published
2024-10-29 14:33
Modified
2024-10-29 20:00
Severity ?
7.5 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Summary
Waitress vulnerable to DoS leading to high CPU usage/resource exhaustion
Details
Impact
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.
Patches
Waitress 3.0.1 contains fixes that remove the race condition.
Workarounds
No work-around.
References
- https://github.com/Pylons/waitress/issues/418
- https://github.com/Pylons/waitress/pull/435
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "waitress" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.0.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-49769" ], "database_specific": { "cwe_ids": [ "CWE-772" ], "github_reviewed": true, "github_reviewed_at": "2024-10-29T14:33:00Z", "nvd_published_at": "2024-10-29T15:15:12Z", "severity": "HIGH" }, "details": "### Impact\n\nWhen a remote client closes the connection before waitress has had the opportunity to call `getpeername()` waitress won\u0027t 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.\n\nA remote attacker could run waitress out of available sockets with very little resources required.\n\n### Patches\n\nWaitress 3.0.1 contains fixes that remove the race condition.\n\n### Workarounds\n\nNo work-around.\n\n### References\n\n- https://github.com/Pylons/waitress/issues/418\n- https://github.com/Pylons/waitress/pull/435\n", "id": "GHSA-3f84-rpwh-47g6", "modified": "2024-10-29T20:00:26Z", "published": "2024-10-29T14:33:00Z", "references": [ { "type": "WEB", "url": "https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-49769" }, { "type": "WEB", "url": "https://github.com/Pylons/waitress/issues/418" }, { "type": "WEB", "url": "https://github.com/Pylons/waitress/pull/435" }, { "type": "WEB", "url": "https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c" }, { "type": "PACKAGE", "url": "https://github.com/Pylons/waitress" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Waitress vulnerable to DoS leading to high CPU usage/resource exhaustion" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.