What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: body-parser 1.20.3; Npm Body-Parser 1.20.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45590 or the next vulnerability affects your stack