CVE-2019-1020001 Path Traversal vulnerability that affects yard
An attacker can exploit a path traversal vulnerability in the yard Ruby documentation library to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-1020001?
CVE-2019-1020001 is a high-severity path traversal vulnerability in yard, published on 29 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
yard before 0.9.20 allows path traversal.
Weakness: CWE-22
Which versions are affected by CVE-2019-1020001?
2 open source packages ship an affected version, including yard. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yard RubyGems | All versions | 0.9.20 |
yard RubyGems | All versions | 0.9.20 |
Products include Yardoc Yard.
How do I fix CVE-2019-1020001?
Upgrade yard to 0.9.20 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-1020001 being exploited?
There is no known exploitation of CVE-2019-1020001 in the wild and no public exploit code.
Other vulnerabilities in yard
Sources
Also known as DEBIAN-CVE-2019-1020001, GHSA-xfhh-rx56-rxcr, OESA-2021-1289, UBUNTU-CVE-2019-1020001.