CVE-2020-7650 Arbitrary File Read in Snyk Broker
An attacker with internal network access can read arbitrary YAML, YML, or JSON files via path traversal in the Snyk broker library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7650?
CVE-2020-7650 is a medium-severity path traversal vulnerability in snyk-broker, published on 29 May 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
All versions of snyk-broker after 4.72.0 including and before 4.73.1 are vulnerable to Arbitrary File Read. It allows arbitrary file reads to users with access to Snyk's internal network of any files ending in the following extensions: yaml, yml or json.
Weakness: CWE-22
Which versions are affected by CVE-2020-7650?
2 open source packages ship an affected version, including snyk-broker. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
snyk-broker npm | All versions | 4.73.1 |
snyk-broker npm | All versions | 4.73.1 |
Products include Synk Broker.
How do I fix CVE-2020-7650?
Upgrade snyk-broker to 4.73.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-7650 being exploited?
There is no known exploitation of CVE-2020-7650 in the wild and no public exploit code.
Other vulnerabilities in snyk-broker
Sources
Also known as GHSA-2fmp-7xwf-wvwr, SNYK-JS-SNYKBROKER-570609.