Vulnerability · Published Jul 7, 2020 · Assigned by GitHub_M
CVE-2020-15095Sensitive information exposure through logs in npm cli
Medium 4.4
In plain English
A medium-severity sensitive data in logs in cli from npm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)0.4%top 65.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like "<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>". The password value is not redacted and is printed to stdout and also to any generated log files.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2047+b07ac28e | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2047+b07ac28e | ALSA-2020:4272 |
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2020:4272 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2020:4272 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2020:4272 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2020:4272 |
| Debian:12 | npm | 6.14.6+ds-1 | DEBIAN-CVE-2020-15095 |
| Debian:13 | npm | 6.14.6+ds-1 | DEBIAN-CVE-2020-15095 |
| Debian:14 | npm | 6.14.6+ds-1 | DEBIAN-CVE-2020-15095 |
| Rocky Linux:8 | nodejs-nodemon | 0:1.18.3-1.module+el8.3.0+101+f84c7154 | RLSA-2020:4272 |
| Rocky Linux:8 | nodejs-nodemon | 0:1.18.3-1.module+el8.3.0+101+f84c7154 | RLSA-2021:0548 |
| Rocky Linux:8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0548 |
| Rocky Linux:8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2020:4272 |
| npm | npm | 6.14.6 | GHSA-93f3-23rq-pjfp |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp x_refsource_CONFIRM
- https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc x_refsource_MISC
- https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07 x_refsource_MISC
- openSUSE-SU-2020:1616 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1644 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1660 vendor-advisory, x_refsource_SUSE
- FEDORA-2020-43d5a372fc vendor-advisory, x_refsource_FEDORA
- GLSA-202101-07 vendor-advisory, x_refsource_GENTOO