What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Npmjs Npm 6.14.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-15095 or the next vulnerability affects your stack