Vulnerabilities in pkg:npm/eslint-config-eslint

PACKAGE
Advisory Summary

GHSA-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.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/eslint-config-eslint

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/eslint-config-eslint. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-pv55-r6j3-wp94 - CRITICAL Malicious Package in eslint-config-eslint
GHSA-hxxf-q3w9-4xgw - CRITICAL Malicious Package in eslint-scope

GHSA-pv55-r6j3-wp94 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-pv55-r6j3-wp94
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Eslint config eslint
Package Ecosystem npm
Published Date
Last Updated

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.

eslint-config-eslint fixed: Latest secure release
npm install eslint-config-eslint@Latest secure release
Verify Direct and Transitive Dependencies

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

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. ## Recommendation The 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 Users may consider downgrading to version 5.0.1

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?
GHSA-pv55-r6j3-wp94 is a security vulnerability in Eslint config eslint involving Malicious Package in eslint-config-eslint under General Security Weakness.
Which Eslint config eslint versions are affected?
Affected versions include releases prior to current release patches across affected packages: eslint-config-eslint.
What version fixes GHSA-pv55-r6j3-wp94?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is eslint-config-eslint affected?
Yes, eslint-config-eslint is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-pv55-r6j3-wp94?
GHSA-pv55-r6j3-wp94 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-pv55-r6j3-wp94?
Run the dependency tree command: 'npm ls eslint-config-eslint'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}