
Cloud Vulnerability DB
A community-led vulnerabilities database
The wenluhong1 npm package contains a directory traversal vulnerability (GHSA-224h-p7p5-rh85) that affects all versions (>= 0.0.0). The vulnerability was discovered by Liang Gong, disclosed on May 9, 2017, and published to the GitHub Advisory Database on September 1, 2020. The issue stems from the package's handling of relative file paths, which can allow unauthorized access to files outside the intended directory root (GitHub Advisory, Snyk Report).
The vulnerability is classified as high severity with a CVSS score of 7.5. The CVSS metrics indicate network attack vector, low attack complexity, no privileges required, no user interaction needed, unchanged scope, high confidentiality impact, and no impact on integrity or availability. The vulnerability is tracked as CWE-22. A simple example of exploitation involves sending a request like 'GET /../../../../../../../../../../etc/passwd HTTP/1.1 host:foo' to access sensitive system files (GitHub Advisory).
The vulnerability allows attackers to access files outside of the intended directory root, potentially leading to the disclosure of sensitive files and data on the vulnerable system. This can result in unauthorized access to private system files, configuration data, and other critical information stored on the server (GitHub Advisory, Snyk Report).
The vulnerability is easily exploitable with no special privileges or user interaction required. Proof-of-concept code is publicly available, and Snyk has confirmed the existence of detailed exploitation instructions. The attack can be executed remotely over the network, making it particularly dangerous (Snyk Report).
No patch is available for this vulnerability. The recommended mitigation is to use the package only for local development purposes. If the functionality is needed in a production environment, it is advised to switch to a different, secure package (GitHub Advisory).
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."