Sensitive information exposure through logs in npm cli
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 6 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-532.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| npm | cli | before 6.14.6 | 6.14.6 | Patch available | CNA |
| — | npm (npm) | before 6.14.6 | 6.14.6 | Patch available | GHSA-93f3-23rq-pjfp |
- cli Vendornpm Affected before 6.14.6 Fixed in 6.14.6 Patch available CNA
- npm (npm) Vendor— Affected before 6.14.6 Fixed in 6.14.6 Patch available GHSA-93f3-23rq-pjfp
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:* | before 6.14.6 | Vulnerable | Npmjs |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* | 15.2 | Vulnerable | openSUSE |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
- cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:* Versions before 6.14.6 Vulnerable ·Npmjs
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* Versions 15.2 Vulnerable ·openSUSE
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA cli (npm) Fixed in 6.14.6
- Fix · GHSA-93f3-23rq-pjfp npm (npm) Fixed in 6.14.6 Advisory →
Red Hat 5 advisories
- RHSA-2021:0548 Released 2021-02-16 · Red Hat rating Moderatenodejs:10 security update
- Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:10.23.1-1.module+el8.3.0+9502+012d8a97.aarch64::nodejs:10, nodejs-1:10.23.1-1.module+el8.3.0+9502+012d8a97.ppc64le::nodejs:10, nodejs-1:10.23.1-1.module+el8.3.0+9502+012d8a97.s390x::nodejs:10 +19
- RHSA-2021:0521 Released 2021-02-15 · Red Hat rating Moderaterh-nodejs10-nodejs security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10-nodejs-10.23.1-2.el7, rh-nodejs10-nodejs-devel-10.23.1-2.el7, rh-nodejs10-nodejs-docs-10.23.1-2.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10-nodejs-10.23.1-2.el7, rh-nodejs10-nodejs-devel-10.23.1-2.el7, rh-nodejs10-nodejs-docs-10.23.1-2.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10-nodejs-10.23.1-2.el7, rh-nodejs10-nodejs-devel-10.23.1-2.el7, rh-nodejs10-nodejs-docs-10.23.1-2.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10-nodejs-10.23.1-2.el7, rh-nodejs10-nodejs-devel-10.23.1-2.el7, rh-nodejs10-nodejs-docs-10.23.1-2.el7 +1
- RHSA-2020:5086 Released 2020-11-12 · Red Hat rating Moderaterh-nodejs12-nodejs security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs12-nodejs-12.18.4-3.el7, rh-nodejs12-nodejs-devel-12.18.4-3.el7, rh-nodejs12-nodejs-docs-12.18.4-3.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs12-nodejs-12.18.4-3.el7, rh-nodejs12-nodejs-devel-12.18.4-3.el7, rh-nodejs12-nodejs-docs-12.18.4-3.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs12-nodejs-12.18.4-3.el7, rh-nodejs12-nodejs-devel-12.18.4-3.el7, rh-nodejs12-nodejs-docs-12.18.4-3.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs12-nodejs-12.18.4-3.el7, rh-nodejs12-nodejs-devel-12.18.4-3.el7, rh-nodejs12-nodejs-docs-12.18.4-3.el7 +1
Show 2 more Red Hat advisories
- RHSA-2020:4903 Released 2020-11-04 · Red Hat rating Moderatenodejs:12 security and bug fix update
- Red Hat Enterprise Linux AppStream EUS (v. 8.1) nodejs-1:12.18.4-2.module+el8.1.0+8360+14141500.aarch64::nodejs:12, nodejs-1:12.18.4-2.module+el8.1.0+8360+14141500.ppc64le::nodejs:12, nodejs-1:12.18.4-2.module+el8.1.0+8360+14141500.s390x::nodejs:12 +19
- RHSA-2020:4272 Released 2020-10-19 · Red Hat rating Moderatenodejs:12 security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:12.18.4-2.module+el8.2.0+8361+192e434e.aarch64::nodejs:12, nodejs-1:12.18.4-2.module+el8.2.0+8361+192e434e.ppc64le::nodejs:12, nodejs-1:12.18.4-2.module+el8.2.0+8361+192e434e.s390x::nodejs:12 +19
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Application Runtimes | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:4272, RHSA-2021:0548 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.1) | Fixed | RHSA-2020:4903 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:5086, RHSA-2021:0521 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:5086, RHSA-2021:0521 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2020:5086, RHSA-2021:0521 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:5086, RHSA-2021:0521 |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15095
- 2026-10-03 Alias added: GHSA-93f3-23rq-pjfp
References
Advisory 8
- https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp
- https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07
- openSUSE-SU-2020:1616
- openSUSE-SU-2020:1644
- openSUSE-SU-2020:1660
- FEDORA-2020-43d5a372fc
- GLSA-202101-07
- https://nvd.nist.gov/vuln/detail/CVE-2020-15095
Sources
- CVE-2020-15095 · CVE Program
- CVE-2020-15095 · NVD
- FIRST EPSS
- GHSA-93f3-23rq-pjfp · GitHub Advisory Database · CC BY 4.0
- CVE-2020-15095 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences