GHSA-hxxf-q3w9-4xgw Malicious Package in eslint-scope
CriticalCVSS 9.1
- Published
- Updated
- Exploit status
- No public exploit known
Description
Version 3.7.2 of eslint-scope 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 2 remote servers.
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
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm eslint-config-eslint(npm) | = 5.0.2; >= 5.0.2, < 6.0.0 | 6.0.0 | Fixed |
| npm eslint-scope(npm) | = 3.7.2; >= 3.7.2, < 3.7.3 | 3.7.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm eslint-scope(npm) | = 3.7.2 | No fix listed |
| npm eslint-config-eslint(npm) | = 5.0.2 | No fix listed |
| npm eslint-scope(npm) | >= 3.7.2, < 3.7.3 | 3.7.3 |
| npm eslint-config-eslint(npm) | >= 5.0.2, < 6.0.0 | 6.0.0 |
References
- github.com
- eslint.org
- github.com vendor-advisory
- www.npmjs.com
- snyk.io
- github.com product