static-eval@2.0.0 vulnerabilities

evaluate statically-analyzable expressions

Direct Vulnerabilities

Known vulnerabilities in the static-eval package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Arbitrary Code Execution

static-eval evaluates statically-analyzable expressions.

Affected versions of this package are vulnerable to Arbitrary Code Execution. It passes untrusted user input directly to the global function constructor, resulting in an arbitrary code execution vulnerability when user input is parsed via the package.

How to fix Arbitrary Code Execution?

Upgrade static-eval to version 2.0.2 or higher.

<2.0.2