CVE-2020-15095
npm CLI exposing sensitive information through logs
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars » npmvia npm npm | < 6.14.6 | 6.14.6 |
| org.webjars.npm » npmvia npm npm | < 6.14.6 | 6.14.6 |
Blast radius
93% of the dependent artifacts (41) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 40 |
| 2 hops | 109 |
| 3 hops | 130 |
Most used dependents
- org.webjars.npm » jquery556 usages
- com.github.sbt » sbt-js-engine_2.12_1.013 usages
- com.github.sbt » sbt-js-engine_sbt28 usages
- com.typesafe.play » sbt-plugin_2.12_1.07 usages
- org.playframework » sbt-plugin_2.12_1.06 usages
- org.playframework » sbt-plugin_sbt23 usages
- com.github.sbt » sbt-js-engine3 usages
- org.webjars.npm » ember-cli1 usages
- org.playframework » play-docs-sbt-plugin_2.12_1.00 usages
- org.playframework » sbt-scripted-tools_2.12_1.00 usages
- com.typesafe.play » play-docs-sbt-plugin_2.12_1.00 usages
- com.typesafe.play » sbt-scripted-tools_2.12_1.00 usages
- org.playframework » sbt-play-ebean_2.12_1.00 usages
- com.typesafe.play » sbt-play-ebean_2.12_1.00 usages
- com.typesafe » npm0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2020-15095 | nvd.nist.gov |
| Web | npm/cli advisory GHSA-93f3-23rq-pjfp | github.com |
| Web | npm/cli commit a9857b8 | github.com |
| Web | npm/cli CHANGELOG.md | github.com |
| Web | archives/list/package-announce@lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZB ... | lists.fedoraproject.org |
| Web | glsa/202101-07 | security.gentoo.org |
| Web | opensuse-security-announce/2020-10/msg00011.html | lists.opensuse.org |
| Web | opensuse-security-announce/2020-10/msg00015.html | lists.opensuse.org |
| Web | opensuse-security-announce/2020-10/msg00023.html | lists.opensuse.org |
