---
cve: "CVE-2024-52303"
severity: "HIGH"
cvss: 8.7
epss: "59%"
vendor: "aio-libs"
kev: false
exploited: false
published: "2024-11-18 20:15:06"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T05:35:47+02:00"
---

# CVE-2024-52303

> 8.7 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 3e09325e4839117df13fbac301f360edf8d3a0ee (Commit)
- bc15db61615079d1b6327ba42c682f758fa96936 (Commit)

## Referenzen

- <https://github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8>
- <https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-52303) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
