CVE-2024-30251: Denial of service when trying to parse malformed POST requests in aiohttp
Vulnerability summary
CVE-2024-30251 is a high (CVSS 7.5) Loop with Unreachable Exit Condition vulnerability in aio-libs aiohttp. EPSS estimates a 1.09% chance of exploitation in the next 30 days, higher than 65.5% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 6Timeline
- 02-05-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.09%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.09% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard15 products
- checkov< 3.0.34-r1
- dask-gateway< 2024.1.0-r4
- dask-gateway-server< 2024.1.0-r4
- kserve< 0.13.1-r3
- kserve-agent< 0.13.1-r3
Wolfi13 products
- checkov< 3.0.34-r1
- dask-gateway< 2024.1.0-r4
- dask-gateway-server< 2024.1.0-r4
- kserve< 0.13.1-r3
- kserve-agent< 0.13.1-r3
Suse11 products
- python-aiohttp&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 3.9.3-150400.10.30.1
- python-aiohttp&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 3.9.3-150400.10.30.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP2< 3.6.0-150100.3.21.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP3< 3.6.0-150100.3.21.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.9.3-150400.10.30.1 | < 3.6.0-150100.3.21.1
Opensuse2 products
- python-aiohttp&distro=openSUSE Leap 15.5< 3.9.3-150400.10.30.1 | < 3.6.0-150100.3.21.1
- python-aiohttp&distro=openSUSE Leap 15.6< 3.9.3-150400.10.30.1
Aio-libs1 product
- aiohttp< 3.9.4
Aiohttp1 product
- aiohttp< 3.9.4
Debian1 product
- python-aiohttp< 3.8.4-1+deb12u1 | < 3.9.5-1
PyPI1 product
- aiohttp< 3.9.4
Ubuntu1 product
- python-aiohttp< 3.8.1-4ubuntu0.2+esm1 | < 3.9.1-1ubuntu0.1+esm1
9 vendors · 46 products
References
20 links- github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84X Refsource CONFIRMWEBREPORTAdvisoryPatchVendor Advisory
- github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597X Refsource MISCWEBREPORTFIXPatch
- github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19X Refsource MISCWEBREPORTFIXPatch
- github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866X Refsource MISCWEBREPORTFIXPatch
Show all 20 references
- github.com/aio-libs/aiohttpPACKAGE
- pypi.org/project/aiohttpPACKAGE