{"id":"CVE-2024-49769","state":"PUBLISHED","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 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.","publishedAt":"2024-10-29T14:18:40.951Z","updatedAt":"2024-11-17T00:11:26.954Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Pylons waitress"],"affected":[{"vendor":"Pylons","product":"waitress","versions":[{"version":"< 3.0.1","status":"affected"}]}],"references":["https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6","https://github.com/Pylons/waitress/issues/418","https://github.com/Pylons/waitress/pull/435","https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c","https://lists.debian.org/debian-lts-announce/2024/11/msg00012.html"],"weaknesses":["CWE-772"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49769.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-49769","state":"PUBLISHED","datePublished":"2024-10-29T14:18:40.951Z","dateUpdated":"2024-11-17T00:11:26.954Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-18T13:43:23.457Z"},"containers":{"cna":{"title":"Waitress has a denial of service leading to high CPU usage/resource exhaustion","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Pylons","product":"waitress","versions":[{"version":"< 3.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6","name":"https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Pylons/waitress/issues/418","name":"https://github.com/Pylons/waitress/issues/418","tags":["x_refsource_MISC"]},{"url":"https://github.com/Pylons/waitress/pull/435","name":"https://github.com/Pylons/waitress/pull/435","tags":["x_refsource_MISC"]},{"url":"https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c","name":"https://github.com/Pylons/waitress/commit/1ae4e894c9f76543bee06584001583fc6fa8c95c","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-772","lang":"en","description":"CWE-772: Missing Release of Resource after Effective Lifetime","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-10-29T14:18:40.951Z"},"source":{"advisory":"GHSA-3f84-rpwh-47g6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"pylons","product":"waitress","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.0.1","versionType":"custom"}],"cpes":["cpe:2.3:a:pylons:waitress:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-29T14:56:24.506825Z","id":"CVE-2024-49769","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-29T14:56:55.296Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00012.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-11-17T00:11:26.954Z"}}]}}}