CVE-2024-30251Aiohttp
High 7.5 No auth needed
Follow: this CVE · Aiohttp · Aiohttp We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- May 2, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Aiohttp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | aiohttp |
< 3.9.4 |
3.9.4 |
pip install "aiohttp>=3.9.4" |
| PyPI | aiohttp |
< 3.9.4 |
3.9.4 |
pip install "aiohttp>=3.9.4" |
Per OSV / GitHub Advisories (GHSA-5m98-qgg9-wh84, PYSEC-2026-1098). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| aiohttp | aiohttp | < 3.9.4 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch Vendor Advisory
- lists.debian.org