{"id":"GHSA-jmqm-f2gx-4fjv","aliases":["GHSA-jmqm-f2gx-4fjv"],"related":[],"kind":"vulnerability","state":"published","title":"Sensitive information exposure through logs in npm-registry-fetch","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-07-07T18:59:10.000Z","modified":"2021-09-22T19:00:07.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.0.5"}],"ecosystem":"npm","package":"npm-registry-fetch","purl":"pkg:npm/npm-registry-fetch","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"8.1.1"}],"ecosystem":"npm","package":"npm-registry-fetch","purl":"pkg:npm/npm-registry-fetch","source":"ghsa"}],"references":[{"url":"https://github.com/npm/npm-registry-fetch/security/advisories/GHSA-jmqm-f2gx-4fjv","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/npm/npm-registry-fetch/pull/29","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/npm/npm-registry-fetch/commit/18bf9b97fb1deecdba01ffb05580370846255c88","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/npm/npm-registry-fetch","tags":["package"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-NPMREGISTRYFETCH-575432","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jmqm-f2gx-4fjv","url":"https://github.com/advisories/GHSA-jmqm-f2gx-4fjv","licence":"CC-BY-4.0","modified":"2021-09-22T19:00:07.000Z"}],"updatedAt":"2026-11-25T22:56:45.806Z"}