CVE-2024-52303: aio-libs aiohttp
Vulnerability summary
CVE-2024-52303 is a high (CVSS 8.7) vulnerability in aio-libs aiohttp. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 4Timeline
- 18-11-2024PublishedVulnerability first disclosed.
- 19-11-2024Last modifiedVulnerability information updated.
Description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions starting with 3.10.6 and prior to 3.10.11, a memory leak can occur when a request produces a MatchInfoError. This was caused by adding an entry to a cache on each request, due to the building of each MatchInfoError producing a unique cache entry. An attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests. Those who use any middlewares with aiohttp.web should upgrade to version 3.10.11 to receive a patch.
CVSS metrics
11 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NDiffers
- OSV · UbuntuEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- 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
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.59% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard4 products
- airflow< 2.10.3-r2
- airflow-bitnami-compat< 2.10.3-r2
- checkov< 3.2.432-r0
- py3-aiohttp< 3.10.11-r0
Wolfi4 products
- airflow< 2.10.3-r2
- airflow-bitnami-compat< 2.10.3-r2
- checkov< 3.2.432-r0
- py3-aiohttp< 3.10.11-r0
Aio-libs1 product
- aiohttp≥ 3.10.6, < 3.10.11
Aiohttp1 product
- aiohttp≥ 3.10.6, < 3.10.11
Debian1 product
- python-aiohttp< 3.10.11-1
Opensuse1 product
- python-aiohttp&distro=openSUSE Tumbleweed< 3.11.9-1.1
PyPI1 product
- aiohttp≥ 3.10.6, < 3.10.11
Ubuntu1 product
- python-aiohttpAll versions (No fix recorded) | < 3.10.11-1build1
8 vendors · 14 products
References
11 links- github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8X Refsource CONFIRMWEBREPORTAdvisoryVendor Advisory
- github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936X Refsource MISCWEBFIXREPORTPatch
- github.com/aio-libs/aiohttpPACKAGE
- pypi.org/project/aiohttpPACKAGE