{"id":"CVE-2020-15095","published":"2020-07-07T18:55:12Z","modified":"2024-08-04T13:08:21Z","title":"Sensitive information exposure through logs in npm cli","vendor":"npm","product":"cli","tier":"core","eol":null,"affectedVersions":[{"vendor":"npm","product":"cli","versions":["< 6.14.6"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00404,"percentile":0.34504,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc","tags":["x_refsource_MISC"]},{"url":"https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00023.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/202101-07","tags":["vendor-advisory","x_refsource_GENTOO"]}],"techniques":[{"id":"T1552","name":"Unsecured Credentials","tactics":["credential-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"primary_impact","evidence":[],"confidence":"high"}],"reports":[],"affected":[{"ecosystem":"npm","package":"npm","vulnerableRanges":["<6.14.6"],"patched":["6.14.6"],"from":["GHSA-93f3-23rq-pjfp"],"provenance":"source"}],"advisories":[{"id":"GHSA-93f3-23rq-pjfp","url":"https://github.com/advisories/GHSA-93f3-23rq-pjfp","severity":"MODERATE","ecosystem":"npm","package":"npm","vulnerableRanges":["<6.14.6"],"patched":["6.14.6"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0546","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0546","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[{"stage":"primary","techniques":["T1552"],"provenance":"source"}],"timeline":[{"date":"2020-07-07","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-15095","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":10.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":6.9,"detail":"percentile 0.3450"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":3.08,"detail":"base score 4.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2019-16775","published":"2019-12-13","fixed":"6.13.3","kev":false},{"cve":"CVE-2019-16776","published":"2019-12-13","fixed":"6.13.3","kev":false},{"cve":"CVE-2019-16777","published":"2019-12-13","fixed":"6.13.4","kev":false,"link":{"from":"CVE-2019-16777","to":"CVE-2020-15095","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:npm","fromFixed":"6.13.4","toFixed":"6.14.6","daysApart":207}]}},{"cve":"CVE-2020-15095","published":"2020-07-07","fixed":"6.14.6","kev":false},{"cve":"CVE-2022-29244","published":"2022-06-13","fixed":"8.11.0","kev":false}],"package":"npm:npm"}}