GHSA-pv55-r6j3-wp94 Malicious Package in eslint-config-eslint
A malicious npm package version steals authentication tokens from user configuration files, requiring immediate token revocation and package removal.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-pv55-r6j3-wp94?
GHSA-pv55-r6j3-wp94 is a vulnerability in eslint-config-eslint, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
Which versions are affected by GHSA-pv55-r6j3-wp94?
2 open source packages ship an affected version, including eslint-config-eslint.
| Package | Affected | Fixed in |
|---|---|---|
eslint-config-eslint npm | All versions | None |
eslint-config-eslint npm | All versions | None |
How do I fix GHSA-pv55-r6j3-wp94?
No fix has been published for GHSA-pv55-r6j3-wp94 yet. Limit exposure of the affected software until one is available.
Is GHSA-pv55-r6j3-wp94 being exploited?
There is no known exploitation of GHSA-pv55-r6j3-wp94 in the wild and no public exploit code.