body-parser@1.5.0 vulnerabilities

Node.js body parsing middleware

Direct Vulnerabilities

Known vulnerabilities in the body-parser package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Asymmetric Resource Consumption (Amplification)

Affected versions of this package are vulnerable to Asymmetric Resource Consumption (Amplification) via the extendedparser and urlencoded functions when the URL encoding process is enabled. An attacker can flood the server with a large number of specially crafted requests.

How to fix Asymmetric Resource Consumption (Amplification)?

Upgrade body-parser to version 1.20.3 or higher.

<1.20.3