Skip to content
OpenAdvisories
Medium · 5.3 GHSA-jmqm-f2gx-4fjv

Sensitive information exposure through logs in npm-registry-fetch

Published Jul 7, 2020 · Updated Sep 22, 2021 · Assigned by GHSA

Description

Affected versions of `npm-registry-fetch` 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 packages

EcosystemPackageAffectedFixedRecord
npm npm-registry-fetch < 4.0.5 4.0.5 GHSA-jmqm-f2gx-4fjv
npm npm-registry-fetch >= 5.0.0, < 8.1.1 8.1.1 GHSA-jmqm-f2gx-4fjv

References