{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-49769","id":"CVE-2024-49769","title":"Waitress has a denial of service leading to high CPU usage/resource exhaustion","description":"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 ","descriptionLong":"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.","published":"2024-10-29T14:18:40.951Z","updated":"2026-10-28T02:31:08.006373812Z","reserved":"2024-10-18T13:43:23.457Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Pylons waitress"],"affectedProducts":[{"vendor":"Pylons","product":"waitress","defaultStatus":null,"versions":[{"version":"< 3.0.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"waitress","purl":"pkg:pypi/waitress","ranges":["<3.0.1"],"fixed":["3.0.1"],"advisory":"GHSA-3f84-rpwh-47g6"}],"cwes":["CWE-772"],"aliases":["GHSA-3f84-rpwh-47g6","PYSEC-2024-211"],"references":[{"url":"https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/Pylons/waitress/issues/418","tags":["x_refsource_MISC","Issue Tracking","report","web"]},{"url":"https://github.com/Pylons/waitress/pull/435","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00012.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49769.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49769","tags":["advisory"]},{"url":"https://github.com/Pylons/waitress","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/waitress/PYSEC-2024-211.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01377,"epssPercentile":0.72655,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-49769","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49769","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-49769","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3f84-rpwh-47g6","ok":true,"note":"GHSA-3f84-rpwh-47g6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-49769","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}