
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (GHSA-jmqm-f2gx-4fjv) affects npm-registry-fetch package and involves sensitive information exposure through log files. The issue was discovered and disclosed on July 7, 2020, affecting versions < 4.0.5 and versions >= 5.0.0, < 8.1.1. The vulnerability allows password values from URLs to be exposed in stdout and log files (GitHub Advisory, Snyk Report).
The vulnerability occurs because the package supports URLs in the format ://[[:]@][:][:][/] where password values are not properly redacted. When these URLs are processed, the password information is printed directly to stdout and logged to generated log files. The vulnerability has been assigned a CVSS v3.1 score of 5.3 (Moderate), with the following base metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: None, User Interaction: None, Scope: Unchanged, Confidentiality: Low, Integrity: None, Availability: None (GitHub Advisory).
The vulnerability results in the exposure of sensitive authentication credentials through log files. When users include passwords in URLs, these credentials are logged in plaintext, potentially exposing them to unauthorized access. This creates a security risk where sensitive authentication information could be compromised (Snyk Report).
The vulnerability is easily exploitable as it requires no special privileges or user interaction. The attack vector is network-based, and the attack complexity is considered low. The vulnerability can be triggered whenever URLs containing password information are processed by the affected versions of the package (GitHub Advisory).
The vulnerability has been patched in versions 4.0.5 and 8.1.1. Users are advised to upgrade npm-registry-fetch to these versions or higher to address the security issue. The fix involves implementing proper redaction of sensitive information in logs (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."