logo

CVE-2019-15657 eslint-utils

Package

Manager: npm
Name: eslint-utils
Vulnerable Version: >=1.2.0 <1.4.1

Severity

Level: Critical

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.0052 pctl0.65892

Details

Arbitrary Code Execution in eslint-utils Versions of `eslint-utils` >=1.2.0 or <1.4.1 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. ## Recommendation Upgrade to version 1.4.1 or later.

Metadata

Created: 2019-08-26T16:59:56Z
Modified: 2021-08-31T21:04:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-3gx7-xhv7-5mx3/GHSA-3gx7-xhv7-5mx3.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-3gx7-xhv7-5mx3
Finding: F184
Auto approve: 1