Skip to content

upgrade cross-spawn dependency #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sandeepkasera
Copy link

This PR upgrades the cross-spawn from version 5.0.1 to 7.0.6.

##Reason for Upgrade
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.

##Changes Made
Updated package.json

##Linked Issues
Fixes #167

@mgagliardo91
Copy link

Can we get this in so we can avoid overriding the cross-spawn dep?

@Tzahile
Copy link

Tzahile commented Mar 13, 2025

@sandeepkasera I got approved, please push it
(or someone from the contributors @mgagliardo91 @serhii-boiko )

@sandeepkasera
Copy link
Author

@Tzahile I do not have the necessary permissions to merge this pull request.

@serlight1
Copy link

Can anybody merge this MR? It's really necessary to avoid ReDoS

Sign up for free to 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.

Upgrade cross-spawn Dependency to Address Security Vulnerability (ReDoS)
5 participants