CVE-2024-45590
HIGH7.5EPSS 1.4%body-parser vulnerable to denial of service when url encoding is enabled
Published: 9/10/2024Modified: 4/28/2026
Description
body-parser is Node.js body parsing middleware. 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. This issue is patched in 1.20.3.
Affected packages (2)
- Debian/node-body-parserfrom 0
- npm/body-parserfrom 0, < 1.20.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| 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 |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-45590
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-45590
- PATCHhttps://github.com/expressjs/body-parser
- WEBhttps://github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce
- WEBhttps://github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7