CVE-2020-7646 curlrequest allows execution of arbitrary commands
Attackers can read arbitrary files by manipulating the file parameter in the curlrequest library, exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7646?
CVE-2020-7646 is a critical path traversal vulnerability in curlrequest, published on 7 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
curlrequest through 1.0.1 allows reading any file by populating the file parameter with user input.
Weakness: CWE-78
Which versions are affected by CVE-2020-7646?
2 open source packages ship an affected version, including curlrequest. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
curlrequest npm | All versions to 1.0.1 | None |
curlrequest npm | All versions to 1.0.1 | None |
Products include Curlrequest Project Curlrequest.
How do I fix CVE-2020-7646?
No fix has been published for CVE-2020-7646 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-7646 being exploited?
There is no known exploitation of CVE-2020-7646 in the wild and no public exploit code.
Sources
Also known as GHSA-m8xj-5v73-3hh8, SNYK-JS-CURLREQUEST-568274.