GHSA-3GX7-XHV7-5MX3
Vulnerability from github – Published: 2019-08-26 16:59 – Updated: 2021-08-31 21:04
VLAI?
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 ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "eslint-utils"
},
"ranges": [
{
"events": [
{
"introduced": "1.2.0"
},
{
"fixed": "1.4.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2019-15657"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T20:55:11Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "Versions of `eslint-utils` \u003e=1.2.0 or \u003c1.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.\n\n\n## Recommendation\n\nUpgrade to version 1.4.1 or later.",
"id": "GHSA-3gx7-xhv7-5mx3",
"modified": "2021-08-31T21:04:30Z",
"published": "2019-08-26T16:59:56Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/mysticatea/eslint-utils/security/advisories/GHSA-3gx7-xhv7-5mx3"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-15657"
},
{
"type": "WEB",
"url": "https://github.com/mysticatea/eslint-utils/commit/08158db1c98fd71cf0f32ddefbc147e2620e724c"
},
{
"type": "WEB",
"url": "https://eslint.org/blog/2019/08/eslint-v6.2.1-released"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-3gx7-xhv7-5mx3"
},
{
"type": "PACKAGE",
"url": "https://github.com/mysticatea/eslint-utils"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1118"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Arbitrary Code Execution in eslint-utils"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…