GHSA-pv55-r6j3-wp94: Eslint config eslint Malicious Package Vulnerability
CRITICALGHSA-pv55-r6j3-wp94 is a CRITICAL malicious package vulnerability (General Security Weakness) affecting Eslint config eslint libraries in the npm ecosystem. The issue involves malicious package in eslint-config-eslint. Remediation is available in the latest vendor maintenance releases.
GHSA-pv55-r6j3-wp94 at a Glance
How to Fix GHSA-pv55-r6j3-wp94
To remediate this vulnerability, upgrade all affected Eslint config eslint 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 eslint-config-eslint@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls eslint-config-eslint
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-pv55-r6j3-wp94, inspect your project dependencies using npm:
npm ls eslint-config-eslint
Analyze the terminal output to locate any version of Eslint config eslint in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls eslint-config-eslint 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 Eslint config eslint, 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-pv55-r6j3-wp94 Affected Eslint config eslint Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
eslint-config-eslint
|
npm |
5.0.2
All 1 versions
5.0.2
|
None specified
|
References
Frequently Asked Questions
What is GHSA-pv55-r6j3-wp94?
Which Eslint config eslint versions are affected?
What version fixes GHSA-pv55-r6j3-wp94?
Is eslint-config-eslint affected?
What CWE is associated with GHSA-pv55-r6j3-wp94?
How can I check npm dependencies for GHSA-pv55-r6j3-wp94?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pv55-r6j3-wp94",
"modified" : "2023-07-27T00:04:06Z",
"published" : "2020-09-01T20:45:57Z",
"aliases" : [ ],
"summary" : "Malicious Package in eslint-config-eslint",
"details" : "Version 5.0.2 of `eslint-config-eslint` was published without authorization and was found to contain malicious code. This code would read the users `.npmrc` file and send any found authentication tokens to a remote server.\n\n\n## Recommendation\n\nThe best course of action if you found this package installed in your environment is to revoke all your npm tokens. You can find instructions on how to do that here. https://docs.npmjs.com/getting-started/working_with_tokens#how-to-revoke-tokens\n\nUsers may consider downgrading to version 5.0.1",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "eslint-config-eslint"
},
"versions" : [ "5.0.2" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/674"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:32:17Z",
"nvd_published_at" : null
}
}