CVEfocus › CVE database › CVE-2020-15095

CVE-2020-15095Sensitive information exposure through logs in npm cli

CVSS 4.4 MediumEPSS 0.4% (higher than 35% of CVEs)Published 2020-07-07Updated 2024-08-04Assigner: GitHub_M

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.

CWE-532

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
4Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04npmNot affected
vulnerable_code_not_present
Ubuntu 25.10npmNot affected
vulnerable_code_not_present
Ubuntu 24.04npmNot affected
vulnerable_code_not_present
Ubuntu 22.04npmNot affected
vulnerable_code_not_present
Ubuntu 20.04npmFix pendingUBUNTU-CVE-2020-15095
Ubuntu 18.04npmFix pendingUBUNTU-CVE-2020-15095
Ubuntu 16.04npmFix pendingUBUNTU-CVE-2020-15095
Ubuntu 14.04npmFix pendingUBUNTU-CVE-2020-15095
Debian 14npmFixed6.14.6+ds-1DEBIAN-CVE-2020-15095
Debian 13npmFixed6.14.6+ds-1DEBIAN-CVE-2020-15095
Debian 12npmFixed6.14.6+ds-1DEBIAN-CVE-2020-15095
Red Hat Enterprise Linux 8nodejsFixed1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-develFixed1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-docsFixed1:12.18.4-2.module+el8.2.0+8361+192e434eRHSA-2021:0548
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:10.23.1-1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:1.18.3-1.module+el8+2632+6c5111edRHSA-2020:4272
Red Hat Enterprise Linux 8nodejs-packagingFixed0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2021:0548
Red Hat Enterprise Linux 8npmFixed1:6.14.10-1.10.23.1.1.module+el8.3.0+9502+012d8a97RHSA-2020:4272
AlmaLinux 8nodejs-nodemonFixed1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2021:0548
AlmaLinux 8nodejs-packagingFixed17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:0548
Rocky Linux 8nodejs-nodemonFixed0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2021:0548
Rocky Linux 8nodejs-packagingFixed0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:0548
npm librarynpmFixed6.14.6GHSA-93f3-23rq-pjfp

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.