CVE-2020-15095
Sensitive information exposure through logs in npm cli
- State
- Published
- Severity
- 4.4 Medium
- Published
- Jul 7, 2020
- Updated
- Aug 4, 2024
- Reserved
- Jun 25, 2020
Description
Versions of the npm CLI prior to 6.14.6 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.4 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
Weaknesses
- CWE-532 Insertion of Sensitive Information into Log File
Affected Products
| Product | Versions |
|---|---|
clinpm |
|
References
- https://github.com/npm/cli/security/advisories/GHSA-93f3-23rq-pjfp
- https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc
- https://github.com/npm/cli/blob/66aab417f836a901f8afb265251f761bb0422463/CHANGELOG.md#6146-2020-07-07
- openSUSE-SU-2020:1616vendor-advisory
- openSUSE-SU-2020:1644vendor-advisory
- openSUSE-SU-2020:1660vendor-advisory
- FEDORA-2020-43d5a372fcvendor-advisory
- GLSA-202101-07vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.