Description
The CLI in npm before 2.15.1 and 3.x before 3.8.3, as used in Node.js 0.10 before 0.10.44, 0.12 before 0.12.13, 4 before 4.4.2, and 5 before 5.10.0, includes bearer tokens with arbitrary requests, which allows remote HTTP servers to obtain sensitive information by reading Authorization headers.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://blog.npmjs.org/post/142036323955/fixing-a-bearer-token-vulnerabilityVendor Advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21980827Vendor Advisory
- https://github.com/npm/npm/commit/f67ecad59e99a03e5aad8e93cd1a086ae087cb29Patch, Third Party Advisory
- https://github.com/npm/npm/commit/fea8cc92cee02c720b58f95f14d315507ccad401Patch, Third Party Advisory
- https://github.com/npm/npm/issues/8380Third Party Advisory
- https://nodejs.org/en/blog/vulnerability/npm-tokens-leak-march-2016/Vendor Advisory
- http://blog.npmjs.org/post/142036323955/fixing-a-bearer-token-vulnerabilityVendor Advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21980827Vendor Advisory
- https://github.com/npm/npm/commit/f67ecad59e99a03e5aad8e93cd1a086ae087cb29Patch, Third Party Advisory
- https://github.com/npm/npm/commit/fea8cc92cee02c720b58f95f14d315507ccad401Patch, Third Party Advisory
- https://github.com/npm/npm/issues/8380Third Party Advisory
- https://nodejs.org/en/blog/vulnerability/npm-tokens-leak-march-2016/Vendor Advisory
Timeline
- Published
- Jul 2, 2016
- Last modified
- Jun 17, 2026
- NVD status
- Modified