Malicious Package Affecting eslint-config-eslint package, versions =5.0.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-ESLINTCONFIGESLINT-72491
  • published 13 Jul 2018
  • disclosed 12 Jul 2018
  • credit Unknown

Introduced: 12 Jul 2018

Malicious CVE NOT AVAILABLE CWE-506 Open this link in a new tab

How to fix?

Do not use version 5.0.2 of eslint-config-eslint.

Overview

eslint-config-eslint is the ECMAScript scope analyzer used in ESLint.

Version 5.0.2 was identified as malicious after a possible npm account takeover. During installation, the malicious code download code from pastebin.com, then executed it. It sent the contents of the user’s .npmrc file to the attacker, which typically contains access tokens for publishing to npm.

The malicious package versions have been unpublished from npm.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.1 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None