{"id":"GHSA-jmqm-f2gx-4fjv","summary":"Sensitive information exposure through logs in npm-registry-fetch","details":"Affected versions of `npm-registry-fetch` are vulnerable to an information exposure vulnerability through log files. The cli supports URLs like `\u003cprotocol\u003e://[\u003cuser\u003e[:\u003cpassword\u003e]@]\u003chostname\u003e[:\u003cport\u003e][:][/]\u003cpath\u003e`. The password value is not redacted and is printed to stdout and also to any generated log files.","modified":"2021-09-22T19:00:07Z","published":"2020-07-07T18:59:10Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-352"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-07-07T18:26:15Z"},"references":[{"type":"WEB","url":"https://github.com/npm/npm-registry-fetch/security/advisories/GHSA-jmqm-f2gx-4fjv"},{"type":"WEB","url":"https://github.com/npm/npm-registry-fetch/pull/29"},{"type":"WEB","url":"https://github.com/npm/npm-registry-fetch/commit/18bf9b97fb1deecdba01ffb05580370846255c88"},{"type":"PACKAGE","url":"https://github.com/npm/npm-registry-fetch"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-NPMREGISTRYFETCH-575432"}],"affected":[{"package":{"name":"npm-registry-fetch","ecosystem":"npm","purl":"pkg:npm/npm-registry-fetch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-jmqm-f2gx-4fjv/GHSA-jmqm-f2gx-4fjv.json"}},{"package":{"name":"npm-registry-fetch","ecosystem":"npm","purl":"pkg:npm/npm-registry-fetch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"8.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-jmqm-f2gx-4fjv/GHSA-jmqm-f2gx-4fjv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}