CWE
532
Advisory Published
CVE Published
Updated

CVE-2020-15095: Sensitive information exposure through logs in npm cli

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 "&lt;protocol&gt;://[&lt;user&gt;[:&lt;password&gt;]@]&lt;hostname&gt;[:&lt;port&gt;][:][/]&lt;path&gt;". 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 SoftwareAffected VersionHow 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

Remedy

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.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-15095?

    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.

  • How does CVE-2020-15095 affect software?

    CVE-2020-15095 affects versions of the npm CLI prior to 6.14.6.

  • What is the severity of CVE-2020-15095?

    The severity of CVE-2020-15095 is medium with a CVSS score of 4.4.

  • How can I fix CVE-2020-15095?

    To fix CVE-2020-15095, update your npm CLI to version 6.14.6 or later.

  • Is there any additional information about CVE-2020-15095?

    Yes, you can find additional information about CVE-2020-15095 in the provided references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203