You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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()
orpath.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 itsuseBuiltIns
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
The text was updated successfully, but these errors were encountered: