CVE-2018-20993Yaml-rust Project Yaml-rust
High 7.5 No auth needed
Follow: this CVE · Yaml-rust Project · Yaml-rust Project Yaml-rust We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Aug 26, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An issue was discovered in the yaml-rust crate before 0.4.1 for Rust. There is uncontrolled recursion during deserialization.
What to do
- Apply the vendor's security update for Yaml-rust.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | yaml-rust |
< 0.4.1 |
0.4.1 |
cargo update -p yaml-rust --precise 0.4.1 |
| crates.io | yaml-rust |
≥ 0.0.0-0 < 0.4.1 |
0.4.1 |
cargo update -p yaml-rust --precise 0.4.1 |
Per OSV / GitHub Advisories (GHSA-hv87-47h9-jcvq, RUSTSEC-2018-0006). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yaml-rust_project | yaml-rust | < 0.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Patch Third Party Advisory