In eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.
cve-program · CVE-2019-15657
PublishedIn eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.
Read the publisher's advisoryeuvd · EUVD-2019-0616
PublishedIn eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.
Read the publisher's advisorynvd · CVE-2019-15657
PublishedIn eslint-utils before 1.4.1, the getStaticValue function can execute arbitrary code.
Read the publisher's advisoryosv · GHSA-3gx7-xhv7-5mx3
PublishedVersions 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2019-15657 · CVE overview and exploitation status
cve-program · CVE-2019-15657
euvd · EUVD-2019-0616
nvd · CVE-2019-15657
osv · GHSA-3gx7-xhv7-5mx3
- https://github.com/mysticatea/eslint-utils/security/advisories/GHSA-3gx7-xhv7-5mx3
- https://nvd.nist.gov/vuln/detail/CVE-2019-15657
- https://github.com/mysticatea/eslint-utils/commit/08158db1c98fd71cf0f32ddefbc147e2620e724c
- https://eslint.org/blog/2019/08/eslint-v6.2.1-released
- https://github.com/advisories/GHSA-3gx7-xhv7-5mx3
- https://github.com/mysticatea/eslint-utils
- https://www.npmjs.com/advisories/1118
Related changes
Linked by CVE identifierNo related changes are available here.