Arbitrary Code Execution Affecting static-eval package, versions <2.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
1.53% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:static-eval:20171016
  • published18 Oct 2017
  • disclosed16 Oct 2017
  • creditMatt Austin

Introduced: 16 Oct 2017

CVE-2017-16226  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade static-eval to version 2.0.0 or higher.

Overview

static-eval is a module to evaluate statically-analyzable expressions.

Affected versions of the package are vulnerable to Arbitrary Code Execution. If un-sanitized user input is passed to static-eval, it is possible to break out of the sandboxed instance, and execute arbitrary code from the standard library.

CVSS Scores

version 3.1