{"id":"UBUNTU-CVE-2016-3956","details":"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.","modified":"2026-02-04T03:03:18.084608Z","published":"2016-07-02T14:59:00Z","related":["USN-4785-1"],"upstream":["CVE-2016-3956"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-3956"},{"type":"REPORT","url":"https://nodejs.org/en/blog/vulnerability/npm-tokens-leak-march-2016/"},{"type":"REPORT","url":"https://github.com/npm/npm/issues/8380"},{"type":"REPORT","url":"http://www-01.ibm.com/support/docview.wss?uid=swg21980827"},{"type":"REPORT","url":"http://blog.npmjs.org/post/142036323955/fixing-a-bearer-token-vulnerability"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4785-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-3956"}],"affected":[{"package":{"name":"npm","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/npm@3.5.2-0ubuntu4.1.16.04.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-0ubuntu4.1.16.04.1~esm1"}]}],"versions":["1.4.21+ds-2","3.5.2-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.2-0ubuntu4.1.16.04.1~esm1","binary_name":"npm"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3956.json"}},{"package":{"name":"npm","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/npm@3.5.2-0ubuntu4.1.18.04.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-0ubuntu4.1.18.04.1~esm1"}]}],"versions":["3.5.2-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.2-0ubuntu4.1.18.04.1~esm1","binary_name":"npm"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3956.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}