CVE-2024-30251

Denial of service when trying to parse malformed POST requests in aiohttp

Published May 2, 2024 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4041-1 python-aiohttp security update
Debian DSA Debian DSA DSA-5828-1 python-aiohttp security update
EUVD EUVD EUVD-2024-1442 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.
Github GHSA Github GHSA GHSA-5m98-qgg9-wh84 aiohttp vulnerable to Denial of Service when trying to parse malformed POST requests
Ubuntu USN Ubuntu USN USN-7642-1 AIOHTTP vulnerabilities
History
Type Values Removed Values Added
First Time appeared Aiohttp
Aiohttp aiohttp
CPEs cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*
Vendors & Products Aiohttp
Aiohttp aiohttp
Type Values Removed Values Added
First Time appeared Aio-libs Project
Aio-libs Project aiohttp
CPEs cpe:2.3:a:aio-libs_project:aiohttp:-:*:*:*:*:*:*:*
Vendors & Products Aio-libs Project
Aio-libs Project aiohttp
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:4::el8
Vendors & Products Redhat rhui
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 8:37 PM
Reserved
Mar 26, 2024, 12:52 PM
Status
Modified
Published
May 2, 2024, 2:15 PM
Modified
Jun 17, 2026, 7:26 AM
Severity
Important
Public date
May 2, 2024, 12:00 AM