Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

CVE-2024-45590 (High) detected in body-parser-1.20.0.tgz, body-parser-1.20.1.tgz #75

Description

@mend-bolt-for-github

CVE-2024-45590 - High Severity Vulnerability

Vulnerable Libraries - body-parser-1.20.0.tgz, body-parser-1.20.1.tgz

body-parser-1.20.0.tgz

Node.js body parsing middleware

Library home page: https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • platform-express-8.4.7.tgz (Root Library)
    • body-parser-1.20.0.tgz (Vulnerable Library)
body-parser-1.20.1.tgz

Node.js body parsing middleware

Library home page: https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • swagger-ui-express-4.6.3.tgz (Root Library)
    • express-4.18.2.tgz
      • body-parser-1.20.1.tgz (Vulnerable Library)

Found in HEAD commit: 2359bd3c0ccc2623a654758aca77d8f8bc59e6a9

Found in base branch: master

Vulnerability Details

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.

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 Fix

Type: Upgrade version

Origin: GHSA-qwcr-r2fm-qrc7

Release Date: 2024-09-10

Fix Resolution (body-parser): 1.20.3

Direct dependency fix Resolution (@nestjs/platform-express): 10.4.2

Fix Resolution (body-parser): 1.20.3

Direct dependency fix Resolution (swagger-ui-express): 5.0.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions