Skip to content

fix: upgrade cross-spawn to 7.0.5, 6.0.6 (CVE-2024-21538) - #260

Open
anupamme wants to merge 1 commit into
sehugg:masterfrom
anupamme:fix-repo-8bitworkshop-cve-2024-21538-cross-spawn
Open

fix: upgrade cross-spawn to 7.0.5, 6.0.6 (CVE-2024-21538)#260
anupamme wants to merge 1 commit into
sehugg:masterfrom
anupamme:fix-repo-8bitworkshop-cve-2024-21538-cross-spawn

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade cross-spawn from 4.0.2 to 7.0.5, 6.0.6 to fix CVE-2024-21538.

Vulnerability

FieldValue
IDCVE-2024-21538
SeverityHIGH
Scannertrivy
RuleCVE-2024-21538
Filepackage-lock.json (dependency: cross-spawn)
AssessmentPresent in dependency tree, not confirmed reachable

Description: cross-spawn: regular expression denial of service

Evidence

Scanner confirmation: trivy rule CVE-2024-21538 flagged this pattern.

Changes

  • package.json
  • package-lock.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@anupamme