
Cloud Vulnerability DB
A community-led vulnerabilities database
curlrequest through version 1.0.1 contains an arbitrary file read vulnerability (CVE-2020-7646) that allows reading any file by populating the file parameter with user input. The vulnerability was published and disclosed on May 7, 2020 (Snyk, NVD).
The vulnerability is classified as CWE-22 (Path Traversal) with a CVSS v3.1 base score of 6.8 (medium) according to Snyk's assessment. The issue allows attackers to read arbitrary files through the file parameter when making requests using the curlrequest library. The vulnerability exists because the library does not properly validate user input when handling file paths (Snyk).
When exploited, this vulnerability can lead to unauthorized access to sensitive files on the system, resulting in a total loss of confidentiality for affected resources. An attacker could potentially read any file accessible to the application, including configuration files, private keys, and other sensitive system files (Snyk).
The vulnerability has a documented proof-of-concept exploit. A simple example demonstrates how an attacker can read arbitrary files by manipulating the file parameter: curl.request({ file: userPayload }, function (err, stdout, meta) { console.log("%s %s", meta.cmd, meta.args.join(" ")); }); where userPayload can be set to any file path like '/etc/passwd' (Snyk).
There is no fixed version available for the curlrequest package. Users are advised to find alternative solutions or implement proper input validation when handling file paths (Snyk).
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."