@babel/traverse/.../traverse@7.0.0-beta.38 vulnerabilities

The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes

  • latest version

    7.26.4

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    10 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @babel/traverse package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Incomplete List of Disallowed Inputs

    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.

    How to fix Incomplete List of Disallowed Inputs?

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

    <7.23.2>=8.0.0-alpha.0 <8.0.0-alpha.4