pferron / Case144951-2

0 stars 0 forks source link

CVE-2024-21538 (High) detected in multiple libraries #21

Open mend-for-github-com[bot] opened 1 day ago

mend-for-github-com[bot] commented 1 day ago

CVE-2024-21538 - High Severity Vulnerability

Vulnerable Libraries - cross-spawn-6.0.5.tgz, cross-spawn-7.0.3.tgz, cross-spawn-5.1.0.tgz

cross-spawn-6.0.5.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - @cvent/planner-event-hubs-5.10.8.tgz (Root Library) - @cvent/sli-nextjs-metrics-10.0.5.tgz - @cvent/sli-react-metrics-8.2.1.tgz - npm-run-all-4.1.5.tgz - :x: **cross-spawn-6.0.5.tgz** (Vulnerable Library)

cross-spawn-7.0.3.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - @cvent/planner-event-hubs-it-5.10.6.tgz (Root Library) - eslint-plugin-jest-27.9.0.tgz - eslint-8.57.0.tgz - :x: **cross-spawn-7.0.3.tgz** (Vulnerable Library)

cross-spawn-5.1.0.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - @cvent/planner-event-hubs-e2e-5.10.8.tgz (Root Library) - @cvent/wdio-configs-1.1.21.tgz - current-git-branch-1.1.0.tgz - execa-0.6.3.tgz - :x: **cross-spawn-5.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 76c480313a5477fafa2e95a627397a20f19acfdb

Found in base branch: main

Vulnerability Details

Versions of the package cross-spawn before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

Publish Date: 2024-11-08

URL: CVE-2024-21538

Threat Assessment

Exploit Maturity: Proof of concept

EPSS: 0.0%

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: https://www.cve.org/CVERecord?id=CVE-2024-21538

Release Date: 2024-11-08

Fix Resolution: cross-spawn - 7.0.5

mend-for-github-com[bot] commented 1 day ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 1 day ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.