What’s Vulnerable › Vulnerabilities
CVE-2016-3956
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-07-02 · updated 2026-06-17
- Weakness: CWE-200
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.
Affected products
- IBM Sdk: through 1.1.0.20; through 1.2.0.10; through 4.4.1.0
- Node.js: 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5 (+84)
- Npmjs Npm: before 2.15.1; from 3.0.0 before 3.8.3 — fixed in 2.15.1, 3.8.3
How to fix
Upgrade to a fixed version: Npmjs Npm 2.15.1, 3.8.3. Check the vendor advisory for mitigations.
References
- http://blog.npmjs.org/post/142036323955/fixing-a-bearer-token-vulnerability
- http://www-01.ibm.com/support/docview.wss?uid=swg21980827
- https://github.com/npm/npm/commit/f67ecad59e99a03e5aad8e93cd1a086ae087cb29
- https://github.com/npm/npm/commit/fea8cc92cee02c720b58f95f14d315507ccad401
- https://github.com/npm/npm/issues/8380
- https://nodejs.org/en/blog/vulnerability/npm-tokens-leak-march-2016/
- http://blog.npmjs.org/post/142036323955/fixing-a-bearer-token-vulnerability
- http://www-01.ibm.com/support/docview.wss?uid=swg21980827
- https://github.com/npm/npm/commit/f67ecad59e99a03e5aad8e93cd1a086ae087cb29
- https://github.com/npm/npm/commit/fea8cc92cee02c720b58f95f14d315507ccad401
- https://github.com/npm/npm/issues/8380
- https://nodejs.org/en/blog/vulnerability/npm-tokens-leak-march-2016/
Get alerted when CVE-2016-3956 or the next vulnerability affects your stack