Skip to content
OpenAdvisories
Medium · 4.4 CVE-2020-15095 EUVD-2020-0546GHSA-93f3-23rq-pjfp

Sensitive information exposure through logs in npm cli

Published Jul 7, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
npm cli < 6.14.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 npm 6.14.6+ds-1 —
Debian 13 npm 6.14.6+ds-1 —
Debian 12 npm 6.14.6+ds-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS npm No fix yet —
Ubuntu 14.04 LTS npm No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS npm No fix yet —
Ubuntu Pro 16.04 LTS npm No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 nodejs +3 1:10.23.1-1.module+el8.3.0+9502+012d8a97 RHSA-2021:0548, RHSA-2020:4272
RHEL 8 nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45 RHSA-2021:0548, RHSA-2020:4272
RHEL 8 nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2021:0548, RHSA-2020:4272
RHEL 8 npm 1:6.14.6-1.12.18.4.2.module+el8.2.0+8361+192e434e RHSA-2021:0548, RHSA-2020:4272
RHEL 3 rh-nodejs10-nodejs +2 10.23.1-2.el7 RHSA-2021:0521
RHEL 3 rh-nodejs10-npm 6.14.10-10.23.1.2.el7 RHSA-2021:0521
RHEL 3 rh-nodejs12-nodejs +2 12.18.4-3.el7 RHSA-2020:5086
RHEL 3 rh-nodejs12-npm 6.14.6-12.18.4.3.el7 RHSA-2020:5086
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.1 EUS nodejs +3 1:12.18.4-2.module+el8.1.0+8360+14141500 RHSA-2020:4903
RHEL 8.1 EUS nodejs-nodemon 1.18.3-1.module+el8.1.0+3369+37ae6a45 RHSA-2020:4903
RHEL 8.1 EUS nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45 RHSA-2020:4903
RHEL 8.1 EUS npm 1:6.14.6-1.12.18.4.2.module+el8.1.0+8360+14141500 RHSA-2020:4903

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 nodejs-nodemon 1.18.3-1.module_el8.3.0+2023+d2377ea3 ALSA-2021:0548, ALSA-2020:4272
AlmaLinux 8 nodejs-packaging 17-3.module_el8.3.0+2023+d2377ea3 ALSA-2021:0548, ALSA-2020:4272

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 nodejs-nodemon 1.18.3-1.module+el8.3.0+101+f84c7154 RLSA-2021:0548, RLSA-2020:4272
Rocky Linux 8 nodejs-packaging 17-3.module+el8.3.0+101+f84c7154 RLSA-2021:0548, RLSA-2020:4272
ReleasePackageFixed inAdvisory
SLES 15 SP2 nodejs10 10.22.1-1.27.1 SUSE-SU-2020:2829-1
SLES 15 SP2 nodejs12 12.18.4-4.6.1 SUSE-SU-2020:2813-1
SLES 15 SP2 nodejs8 8.17.0-10.3.1 SUSE-SU-2020:2800-1
SLES 15 SP1 nodejs10 10.22.1-1.27.1 SUSE-SU-2020:2829-1
SLES 15 SP1 nodejs8 8.17.0-3.38.1 SUSE-SU-2020:2870-1
SLES 15 nodejs10 10.22.1-1.27.1 SUSE-SU-2020:2829-1
SLES 12 nodejs10 10.22.1-1.30.1 SUSE-SU-2020:2823-1
SLES 12 nodejs12 12.18.4-1.20.1 SUSE-SU-2020:2812-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 nodejs10 10.22.1-1.27.1 SUSE-SU-2020:2829-1
SLE HPC 15 nodejs10 10.22.1-1.27.1 SUSE-SU-2020:2829-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs14 14.17.5-1.2 openSUSE-SU-2024:11096-1
openSUSE Leap 15.2 nodejs10 10.22.1-lp152.2.6.1 openSUSE-SU-2020:1660-1
openSUSE Leap 15.2 nodejs12 12.18.4-lp152.3.6.1 openSUSE-SU-2020:1616-1
openSUSE Leap 15.1 nodejs8 8.17.0-lp151.2.21.1 openSUSE-SU-2020:1644-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 nodejs +3 1:10.23.1-1.module+el8.3.0+9642+87902f83 ELSA-2021-0548, ELSA-2020-4272
Oracle Linux 8 nodejs-nodemon 1.18.3-1.module+el8.1.0+5392+4d6b561f ELSA-2021-0548, ELSA-2020-4272
Oracle Linux 8 nodejs-packaging 17-3.module+el8.1.0+5392+4d6b561f ELSA-2021-0548, ELSA-2020-4272
Oracle Linux 8 npm 1:6.14.6-1.12.18.4.2.module+el8.2.0+7806+0b44ae23 ELSA-2021-0548, ELSA-2020-4272

Affected packages

EcosystemPackageAffectedFixedRecord
npm npm < 6.14.6 6.14.6 GHSA-93f3-23rq-pjfp

Advisories 21

References