CVE-2024-30251
aiohttp vulnerable to Denial of Service when trying to parse malformed POST requests
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.
How to fix CVE-2024-30251
To remediate CVE-2024-30251, upgrade the affected package to a fixed version below.
- —upgrade to 3.7.4-1+deb11u1 or later
- —upgrade to 3.9.4 or later
Is CVE-2024-30251 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.7.4-1+deb11u1
- from 0, < 3.9.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |