{"id":"CVE-2024-30251","published":"2024-05-02T13:55:06Z","modified":"2025-11-03T20:37:11Z","title":"Denial of service when trying to parse malformed POST requests in aiohttp","vendor":"aio-libs","product":"aiohttp","tier":"tail","description":{"text":"aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In affected versions an attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests. An attacker can stop the application from serving requests after sending a single request. This issue has been addressed in version 3.9.4. Users are advised to upgrade. Users unable to upgrade may manually apply a patch to their systems. Please see the linked GHSA for instructions.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01094,"percentile":0.65471,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/02/4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html","tags":[]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":13.09},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiohttp","versions":["< 3.9.4"]}],"affected":[{"ecosystem":"PyPI","package":"aiohttp","vulnerableRanges":["<3.9.4"],"patched":["3.9.4"],"from":["GHSA-5m98-qgg9-wh84","PYSEC-2026-1098"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1442","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aio-libs-aiohttp-cve-2023-47627","children":[{"from":"CVE-2024-30251","to":"CVE-2025-53643","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiohttp/multipart.py"],"commits":["https://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597","https://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19","https://github.com/aio-libs/aiohttp/commit/e8d774f635dc6d1cd3174d0e38891da5de0e2b6a"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-23334","published":"2024-01-29","fixed":"3.9.2","kev":false},{"cve":"CVE-2024-23829","published":"2024-01-29","fixed":"3.9.2","kev":false,"link":{"from":"CVE-2024-23829","to":"CVE-2024-30251","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiohttp","fromFixed":"3.9.2","toFixed":"3.9.4","daysApart":94}]}},{"cve":"CVE-2024-27306","published":"2024-04-18","fixed":"3.9.4","kev":false},{"cve":"CVE-2024-30251","published":"2024-05-02","fixed":"3.9.4","kev":false},{"cve":"CVE-2024-42367","published":"2024-08-09","fixed":"3.10.2","kev":false},{"cve":"CVE-2024-52303","published":"2024-11-18","fixed":"3.10.11","kev":false},{"cve":"CVE-2024-52304","published":"2024-11-18","fixed":"3.10.11","kev":false}],"package":"PyPI:aiohttp"}}