Arbitrary Code Execution Affecting org.webjars.npm:eslint-utils package, versions [1.2.0,1.4.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.35% (72nd 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 IDSNYK-JAVA-ORGWEBJARSNPM-479683
  • published23 Aug 2019
  • disclosed20 Aug 2019
  • creditToru Nagashima

Introduced: 20 Aug 2019

CVE-2019-15657  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:eslint-utils to version 1.4.1 or higher.

Overview

org.webjars.npm:eslint-utils is a package provides utility functions and classes for make ESLint custom rules.

Affected versions of this package are vulnerable to Arbitrary Code Execution. The getStaticValue does not properly sanitize user input allowing attackers to supply malicious input that executes arbitrary code during the linting process. The getStringIfConstant and getPropertyName functions are not affected.

CVSS Scores

version 3.1