Conversation
99d1c1c to
6337cca
Compare
satazor
added a commit
that referenced
this pull request
Nov 18, 2024
This was referenced Nov 19, 2024
Thompson1985
approved these changes
Nov 20, 2024
This was referenced Dec 9, 2024
This was referenced Jan 7, 2025
This was referenced Jan 17, 2025
This was referenced Feb 10, 2025
gurus00
pushed a commit
to gurus00/node-cross-spawn
that referenced
this pull request
Feb 11, 2025
This was referenced Apr 11, 2025
This was referenced May 8, 2025
highorbit25
added a commit
to highorbit25/concert-vuln-app
that referenced
this pull request
Feb 5, 2026
Resolves: #28 Vulnerability Details: - CVE: CVE-2024-21538 - Severity: HIGH - CVSS Score: 7.5 - Package: cross-spawn (transitive dependency) - Vulnerable Version: 7.0.3 - Fixed Version: 7.0.5 - CWE: CWE-1333 (Inefficient Regular Expression Complexity) Remediation: Added npm overrides to force cross-spawn to version 7.0.5, which contains the security fix for this HIGH severity ReDoS vulnerability. The cross-spawn package is a transitive dependency of Next.js and other build tools. This fix prevents Regular Expression Denial of Service (ReDoS) attacks that could cause CPU exhaustion and application crashes through crafted input strings. Automated fix generated by IBM Bob based on CVE research from: - NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-21538 - Snyk Advisory: https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230 - GitHub PR: moxystudio/node-cross-spawn#160
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With a very large and well crafted string, the escaping made by cross-spawn hangs forever.
This PR disables regexp back tracking so that it doesn't suffer from this. https://javascript.info/regexp-catastrophic-backtracking for more details.