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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | npm | 6.14.6+ds-1 | — |
| Debian 13 | npm | 6.14.6+ds-1 | — |
| Debian 12 | npm | 6.14.6+ds-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | npm | No fix yet | — |
| Ubuntu Pro 16.04 LTS | npm | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | npm | < 6.14.6 | 6.14.6 | GHSA-93f3-23rq-pjfp |
Advisories 21
- ALSA-2021:0548 Moderate: nodejs:10 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2020:4272 Moderate: nodejs:12 security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:0521 Red Hat Security Advisory: rh-nodejs10-nodejs security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2021:0548 Red Hat Security Advisory: nodejs:10 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:5086 Red Hat Security Advisory: rh-nodejs12-nodejs security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4903 Red Hat Security Advisory: nodejs:12 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2020:4272 Red Hat Security Advisory: nodejs:12 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RLSA-2020:4272 Moderate: nodejs:12 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2021:0548 Moderate: nodejs:10 security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2020:1660-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1644-1 Security update for nodejs8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2812-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2870-1 Security update for nodejs8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2823-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2813-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1616-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11096-1 nodejs14-14.17.5-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2800-1 Security update for nodejs8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2829-1 Security update for nodejs10 SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2021-0548 Moderate: nodejs:10 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 20, 2021
- ELSA-2020-4272 Moderate: nodejs:12 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 20, 2020
References
- https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp
- https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc
- https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07
- openSUSE-SU-2020:1616 vendor-advisory
- openSUSE-SU-2020:1644 vendor-advisory
- openSUSE-SU-2020:1660 vendor-advisory
- FEDORA-2020-43d5a372fc vendor-advisory
- GLSA-202101-07 vendor-advisory