Skip to content
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

Patch security vulnerability SNYK-JS-CROSSSPAWN-8303230 #263

Open
Xaala opened this issue Nov 7, 2024 · 2 comments
Open

Patch security vulnerability SNYK-JS-CROSSSPAWN-8303230 #263

Xaala opened this issue Nov 7, 2024 · 2 comments

Comments

@Xaala
Copy link

Xaala commented Nov 7, 2024

Snyk link:
https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230

Issue: cross-spawn contains a Regular Expression Denial of Service (ReDoS) vulnerability, bumping the js-beautify package or adding a package override for cross-spawn would fix this issue.

@Xaala
Copy link
Author

Xaala commented Nov 7, 2024

Can also be fixed by adding this override block to the package.json:

"overrides": {
  "cross-spawn": "7.0.5"
}

to override the vulnerable 7.0.3 version included through the latest version of js-beautify (since it doesn't have a newer version that fixes this issue yet)

@Xaala
Copy link
Author

Xaala commented Nov 17, 2024

Fix for js-beautify merged in at beautifier/js-beautify#2330

You can upgrade to next available build (once published, as of 11/17/24, not yet) instead of doing the override.

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

No branches or pull requests

1 participant