CVE-2018-20993 Uncontrolled recursion in rust-yaml
Attackers can cause a denial of service via uncontrolled recursion when deserializing malicious YAML data in the yaml-rust crate.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-20993?
CVE-2018-20993 is a high-severity denial of service vulnerability in n/a, published on 26 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the yaml-rust crate before 0.4.1 for Rust. There is uncontrolled recursion during deserialization.
Weakness: CWE-674
Which versions are affected by CVE-2018-20993?
3 open source packages ship an affected version, including yaml-rust. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yaml-rust crates.io | All versions | 0.4.1 |
yaml-rust crates.io | All versions | 0.4.1 |
yaml-rust crates.io | From 0.0.0-0 | 0.4.1 |
Products include Yaml-Rust Project Yaml-Rust.
How do I fix CVE-2018-20993?
Upgrade yaml-rust to 0.4.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2018-20993 being exploited?
There is no known exploitation of CVE-2018-20993 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-hv87-47h9-jcvq, RUSTSEC-2018-0006, UBUNTU-CVE-2018-20993.