GHSA-7fhm-mqm4-2wp7: Withdrawn Denial of Service Vulnerability
MODERATEGHSA-7fhm-mqm4-2wp7 is a MODERATE denial of service vulnerability (General Security Weakness) affecting Withdrawn libraries in the npm ecosystem. The issue involves eslint dependencies are vulnerable (redos and prototype pollution). Remediation is available by upgrading affected packages to version 1.2.2, 5.7.4, 6.4.1, 7.1.1.
GHSA-7fhm-mqm4-2wp7 at a Glance
How to Fix GHSA-7fhm-mqm4-2wp7
To remediate this vulnerability, upgrade all affected Withdrawn dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install minimist@1.2.2
npm install acorn@5.7.4
npm install acorn@6.4.1
npm install acorn@7.1.1
npm install acorn@7.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls minimist
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-7fhm-mqm4-2wp7, inspect your project dependencies using npm:
npm ls minimist
Analyze the terminal output to locate any version of Withdrawn in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.2), your application is affected.
Note: The npm ls minimist command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Withdrawn, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-7fhm-mqm4-2wp7 Affected Withdrawn Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
minimist
|
npm |
< 1.2.2
|
1.2.2
|
|
acorn
|
npm |
< 5.7.4
|
5.7.4
|
|
acorn
|
npm |
≥ 6.0.0
< 6.4.1
|
6.4.1
|
|
acorn
|
npm |
≥ 7.0.0
< 7.1.1
|
7.1.1
|
|
acorn
|
npm |
≥ 7.0.0
< 7.1.1
|
7.1.1
|
References
Frequently Asked Questions
What is GHSA-7fhm-mqm4-2wp7?
Which Withdrawn versions are affected?
What version fixes GHSA-7fhm-mqm4-2wp7?
Is minimist affected?
Is acorn affected?
What CWE is associated with GHSA-7fhm-mqm4-2wp7?
How can I check npm dependencies for GHSA-7fhm-mqm4-2wp7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7fhm-mqm4-2wp7",
"modified" : "2020-04-03T21:54:52Z",
"published" : "2020-03-13T20:36:16Z",
"withdrawn" : "2020-04-03T21:47:06Z",
"aliases" : [ ],
"summary" : "Withdrawn: ESLint dependencies are vulnerable (ReDoS and Prototype Pollution)",
"details" : "**Withdrawn**\nGitHub has withdrawn this advisory in place of GHSA-vh95-rmgr-6w4m and GHSA-6chw-6frg-f759.\nThe reason for withdrawing is that some mistakes were made during the ingestion of CVE-2020-7598\nwhich caused this advisory to be published with incorrect information.\n\nIn order to provide accurate advisory information, new advisories were created:\n\n- minimist: https://github.com/advisories/GHSA-vh95-rmgr-6w4m\n- acorn: https://github.com/advisories/GHSA-6chw-6frg-f759",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "minimist"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "acorn"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "acorn"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "acorn"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.1.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "acorn"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6chw-6frg-f759"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-vh95-rmgr-6w4m"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-03-13T20:21:06Z",
"nvd_published_at" : null
}
}