Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. body-parser
  4. ›
  5. CVE-2024-45590

CVE-2024-45590: body-parser vulnerable to denial of service when url encoding is enabled

September 10, 2024

body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service.

References

  • github.com/advisories/GHSA-qwcr-r2fm-qrc7
  • github.com/expressjs/body-parser
  • github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce
  • github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7
  • nvd.nist.gov/vuln/detail/CVE-2024-45590

Code Behaviors & Features

Detect and mitigate CVE-2024-45590 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 1.20.3

Fixed versions

  • 1.20.3

Solution

Upgrade to version 1.20.3 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-405: Asymmetric Resource Consumption (Amplification)

Source file

npm/body-parser/CVE-2024-45590.yml

Spotted a mistake? Edit the file on GitLab.

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

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