Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aiohttp
  4. ›
  5. CVE-2024-30251

CVE-2024-30251: aiohttp vulnerable to Denial of Service when trying to parse malformed POST requests

May 3, 2024 (updated November 3, 2025)

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.

References

  • github.com/advisories/GHSA-5m98-qgg9-wh84
  • github.com/aio-libs/aiohttp
  • github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597
  • github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19
  • github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866
  • github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84
  • lists.debian.org/debian-lts-announce/2025/02/msg00002.html
  • nvd.nist.gov/vuln/detail/CVE-2024-30251

Code Behaviors & Features

Detect and mitigate CVE-2024-30251 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.9.4

Fixed versions

  • 3.9.4

Solution

Upgrade to version 3.9.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

pypi/aiohttp/CVE-2024-30251.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:27 +0000.