GitHub Advisoryadvisory · npm

GHSA-jmqm-f2gx-4fjv Sensitive information exposure through logs in npm-registry-fetch

MEDIUM Published 2020-07-07 Modified 2021-09-22 Official page ↗
Ecosystem
npm
Packages
npm-registry-fetch
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-352
Reviewed
2020-07-07

Affected packages

• npm npm-registry-fetch: < 4.0.5 → fixed in 4.0.5 • npm npm-registry-fetch: >= 5.0.0, < 8.1.1 → fixed in 8.1.1

Description

Affected versions of `npm-registry-fetch` are vulnerable to an information exposure vulnerability through log files. The cli supports URLs like `://[[:]@][:][:][/]`. The password value is not redacted and is printed to stdout and also to any generated log files.

Related

Weakness · CWE (1)

  • CWE-352 Cross-Site Request Forgery weakness

References