First published: Tue Jul 07 2020(Updated: )
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. References: <a href="https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07">https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07</a> <a href="https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc">https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc</a> <a href="https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp">https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp</a>
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/rh-nodejs12-nodejs | <0:12.18.4-3.el7 | 0:12.18.4-3.el7 |
redhat/rh-nodejs10-nodejs | <0:10.23.1-2.el7 | 0:10.23.1-2.el7 |
Npmjs Npm | <6.14.6 | |
openSUSE Leap | =15.1 | |
openSUSE Leap | =15.2 | |
Fedoraproject Fedora | =33 |
Do not provide a password to npm via the cli to avoid it from being entered into the logs and stdout, or use ssh instead.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2020-15095 is a vulnerability in versions of the npm CLI prior to 6.14.6 that allows for information exposure through log files.
CVE-2020-15095 affects versions of the npm CLI prior to 6.14.6.
The severity of CVE-2020-15095 is medium with a CVSS score of 4.4.
To fix CVE-2020-15095, update your npm CLI to version 6.14.6 or later.
Yes, you can find additional information about CVE-2020-15095 in the provided references.