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.
Vulnerable Library - body-parser-1.20.2.tgz
Library home page: https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz
Path to dependency file: /payment_gateway/package.json
Path to vulnerable library: /payment_gateway/node_modules/body-parser/package.json
Found in HEAD commit: 5ab3a90e6565ab40c5d420f2dd7b7d54c086025a
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-45590
### Vulnerable Library - body-parser-1.20.2.tgzLibrary home page: https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz
Path to dependency file: /payment_gateway/package.json
Path to vulnerable library: /payment_gateway/node_modules/body-parser/package.json
Dependency Hierarchy: - :x: **body-parser-1.20.2.tgz** (Vulnerable Library)
Found in HEAD commit: 5ab3a90e6565ab40c5d420f2dd7b7d54c086025a
Found in base branch: main
### Vulnerability Detailsbody-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.
Publish Date: 2024-09-10
URL: CVE-2024-45590
### CVSS 3 Score Details (7.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/expressjs/body-parser/security/advisories/GHSA-qwcr-r2fm-qrc7
Release Date: 2024-09-10
Fix Resolution: body-parser - 1.20.3
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)