cve.bz

CVE-2020-15095

4.4 mediumEPSS 0.4%Fix available

Medium (4.4). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in npm 6.14.6.

On this page
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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15095 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15095?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15095?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15095 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
npmjs:npmbefore 6.14.6
opensuse:leap15.1
opensuse:leap15.2
fedoraproject:fedora33

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-93f3-23rq-pjfpnpmnpm<6.14.66.14.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14npm6.14.6+ds-1DEBIAN-CVE-2020-15095
Ubuntu14.04:LTS, 20.04:LTS, Pro:16.04:LTS and 1 morenpmno fix listedUBUNTU-CVE-2020-15095
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.18.4-2.module+el8.2.0+8361+192e434eRHSA-2020:4272
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:1.18.3-1.module+el8+2632+6c5111edRHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:1.18.3-1.module+el8.1.0+3369+37ae6a45RHSA-2020:4272
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8+2873+aa7dfd9aRHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2020:4272
Red Hatenterprise_linux:8::appstreamnpm1:6.14.10-1.10.23.1.1.module+el8.3.0+9502+012d8a97RHSA-2021:0548
Red Hatenterprise_linux:8::appstreamnpm1:6.14.6-1.12.18.4.2.module+el8.2.0+8361+192e434eRHSA-2020:4272
Red Hatrhel_eus:8.1::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.18.4-2.module+el8.1.0+8360+14141500RHSA-2020:4903
Red Hatrhel_eus:8.1::appstreamnodejs-nodemon0:1.18.3-1.module+el8.1.0+3369+37ae6a45RHSA-2020:4903
Red Hatrhel_eus:8.1::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2020:4903
Red Hatrhel_eus:8.1::appstreamnpm1:6.14.6-1.12.18.4.2.module+el8.1.0+8360+14141500RHSA-2020:4903
4 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Web and Scripting 15 SP1 and 3 morenodejs1010.22.1-1.27.1SUSE-SU-2020:2829-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.22.1-1.30.1SUSE-SU-2020:2823-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.18.4-1.20.1SUSE-SU-2020:2812-1
SUSELinux Enterprise Module for Web and Scripting 15 SP1nodejs88.17.0-3.38.1SUSE-SU-2020:2870-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs1212.18.4-4.6.1SUSE-SU-2020:2813-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs88.17.0-10.3.1SUSE-SU-2020:2800-1
openSUSELeap 15.1nodejs88.17.0-lp151.2.21.1openSUSE-SU-2020:1644-1
openSUSELeap 15.2nodejs1010.22.1-lp152.2.6.1openSUSE-SU-2020:1660-1
openSUSELeap 15.2nodejs1212.18.4-lp152.3.6.1openSUSE-SU-2020:1616-1
openSUSETumbleweednodejs1414.17.5-1.2openSUSE-SU-2024:11096-1
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2020:4272 ALSA-2021:0548
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2020:4272 ALSA-2021:0548
AlmaLinux8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2020:4272 ALSA-2021:0548
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2020:4272 ALSA-2021:0548
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2020:4272 ALSA-2021:0548
Rocky Linux8nodejs-nodemon0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2020:4272 RLSA-2021:0548
Rocky Linux8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2020:4272 RLSA-2021:0548

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Do not provide a password to npm via the cli to avoid it from being entered into the logs and stdout, or use ssh instead.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:12-8020020201007080935.4cda2c84Fixed 2020-10-19RHSA-2020:4272
Red Hat Enterprise Linux 8nodejs:10-8030020210118191659.229f0a1cFixed 2021-02-16RHSA-2021:0548
Red Hat Enterprise Linux 8.1 Extended Update Supportnodejs:12-8010020201006223055.c27ad7f8Fixed 2020-11-04RHSA-2020:4903
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.18.4-3.el7Fixed 2020-11-12RHSA-2020:5086
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs10-nodejs-0:10.23.1-2.el7Fixed 2021-02-15RHSA-2021:0521
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs12-nodejs-0:12.18.4-3.el7Fixed 2020-11-12RHSA-2020:5086
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs10-nodejs-0:10.23.1-2.el7Fixed 2021-02-15RHSA-2021:0521
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs12-nodejs-0:12.18.4-3.el7Fixed 2020-11-12RHSA-2020:5086
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs10-nodejs-0:10.23.1-2.el7Fixed 2021-02-15RHSA-2021:0521
Red Hat OpenShift Application Runtimesnodejs8Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15095.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON