Advisory

GHSA-3gx7-xhv7-5mx3

Also known as: CVE-2019-15657

Summary

Arbitrary Code Execution in eslint-utils

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-08-26 16:59 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

eslint-utils

npm · All systems

Affected

  • introduced 1.2.0, fixed 1.4.1 (semver)

Fixed versions

1.4.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences