npm/npm-registry-fetch · Security
Sensitive information exposure through logs in npm-registry-fetch
- GHSA ID
- GHSA-jmqm-f2gx-4fjv
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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.
CWEs
- CWE-352 · Cross-Site Request Forgery (CSRF)
References
- https://github.com/npm/npm-registry-fetch/security/advisories/GHSA-jmqm-f2gx-4fjv ↗
- https://github.com/npm/npm-registry-fetch/pull/29 ↗
- https://github.com/npm/npm-registry-fetch/commit/18bf9b97fb1deecdba01ffb05580370846255c88 ↗
- https://snyk.io/vuln/SNYK-JS-NPMREGISTRYFETCH-575432 ↗
- https://github.com/advisories/GHSA-jmqm-f2gx-4fjv ↗