CVE-2024-45590
HIGH 7.5CVSS 3.1body-parser vulnerable to denial of service when url encoding is enabled
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.
- Published
- 10 Sep 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-405
- Also known as
- GHSA-qwcr-r2fm-qrc7
- Sources
- NVDJSONOSV GHSA-qwcr-r2fm-qrc7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openjsf | body-parsercpe:2.3:a:openjsf:body-parser:*:*:*:*:*:node.js:*:* |
< 1.20.3 | 1.20.3 |
| OSV | npm | body-parser | < 1.20.3 | 1.20.3 |
References
- https://github.com/expressjs/body-parser/commit/b2695c4450f06ba3b0ccf48d872a229bb41c9bce · Patch, WEB
- https://github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-45590 · ADVISORY
- https://github.com/expressjs/body-parser · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Sep 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2024)