HighGHSA-qwcr-r2fm-qrc7CVE-2024-45590

body-parser vulnerable to denial of service when url encoding is enabled

Published 10 Sept 2024 · Updated 10 Sept 2026

Affected package

Affected
<1.20.3
Fixed in
1.20.3
Update to the fixed version for your release line, for example:npm install body-parser@1.20.3

Details

Impact

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.

Patches

this issue is patched in 1.20.3

References

Is GHSA-qwcr-r2fm-qrc7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected body-parser, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.