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

Snyk vulnerability [SNYK-JS-BABELTRAVERSE-5962462] #20943

Closed
github-actions bot opened this issue Nov 2, 2023 · 0 comments
Closed

Snyk vulnerability [SNYK-JS-BABELTRAVERSE-5962462] #20943

github-actions bot opened this issue Nov 2, 2023 · 0 comments
Labels
help wanted Help/Contributions wanted from community members snyk-vulnerability

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2023

Affecting Packages/Plugins

Overview

Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs when using plugins that rely on the path.evaluate() or path.evaluateTruthy() internal Babel methods.

Note:

This is only exploitable if the attacker uses known affected plugins such as @babel/plugin-transform-runtime, @babel/preset-env when using its useBuiltIns option, and any "polyfill provider" plugin that depends on @babel/helper-define-polyfill-provider. No other plugins under the @babel/ namespace are impacted, but third-party plugins might be.

Users that only compile trusted code are not impacted.

Workaround

Users who are unable to upgrade the library can upgrade the affected plugins instead, to avoid triggering the vulnerable code path in affected @babel/traverse.

Remediation

Upgrade @babel/traverse to version 7.23.2, 8.0.0-alpha.4 or higher.

References

@github-actions github-actions bot added help wanted Help/Contributions wanted from community members snyk-vulnerability labels Nov 2, 2023
@github-actions github-actions bot closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help/Contributions wanted from community members snyk-vulnerability
Projects
None yet
Development

No branches or pull requests

0 participants