npm
Affected
- introduced
0, fixed2.15.1(semver)
Fixed versions
2.15.1
Fix
- Fixed version
2.15.1npm install [email protected]
Advisory
Also known as: CVE-2016-3956
npm Token Leak in npm
Affected versions of the npm package include the bearer token of the logged in user in every request made by the CLI, even if the request is not directed towards the user's active registry.
An attacker could create an HTTP server to collect tokens, and by various means including but not limited to install scripts, cause the npm CLI to make a request to that server, which would compromise the user's token.
This compromised token could be used to do anything that the user could do, including publishing new packages.
Recommendation
npm install npm@latest -gHigh Basis: The source's own band: HIGH
0, fixed 2.15.1 (semver)2.15.1
2.15.1npm install [email protected]3.0.0, fixed 3.8.3 (semver)3.8.3
3.8.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0