Patchfirst
CVE-2020-15095 Medium · 4.4 EPSS 0.4%

Sensitive information exposure through logs in npm cli

npm · cli

Official description · CVE.org

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.

Breakdown
10.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What they do

Disclosed on 7 Jul 2020. No public exploit code or confirmed exploitation is recorded.

5 fixes in npm over 2 years. The latest fix listed for npm is 8.11.0.

Fixes in npmnpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 6.13.3CVE-2019-1677513 Dec 2019
  2. 6.13.3CVE-2019-1677613 Dec 2019
  3. 6.13.4CVE-2019-1677713 Dec 2019
  4. 6.14.6CVE-2020-150957 Jul 2020
  5. 8.11.0CVE-2022-2924413 Jun 2022Latest listed

techniques

1 , grouped by in kill-chain order 1

Credential AccessTA0006

MITRE CTID mapping of the CVE · primary impact

Detection

0 rules for this CVE · 13 general rules for its techniques

Rules for this CVE

0 that reference CVE-2020-15095 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: npm.

Upgrade to 6.14.6 or later

npmnpm install npm@6.14.6

The first fix for CVE-2020-15095. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 6.14.66.14.6

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

8 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close