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. Learn more

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 IDSNYK-JS-ESLINTCONFIGESLINT-72491
  • published13 Jul 2018
  • disclosed12 Jul 2018
  • creditUnknown

Introduced: 12 Jul 2018

Malicious CVE NOT AVAILABLE CWE-506  (opens 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