CVE-2018-20993
HIGH 7.5CVSS 3.0Uncontrolled recursion in rust-yaml
An issue was discovered in the yaml-rust crate before 0.4.1 for Rust. There is uncontrolled recursion during deserialization.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-hv87-47h9-jcvqRUSTSEC-2018-0006
- Sources
- NVDJSONOSV GHSA-hv87-47h9-jcvqJSONOSV RUSTSEC-2018-0006JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yaml-rust_project | yaml-rustcpe:2.3:a:yaml-rust_project:yaml-rust:*:*:*:*:*:*:*:* |
< 0.4.1 | 0.4.1 |
| OSV | crates.io | yaml-rust | < 0.4.1 | 0.4.1 |
| OSV | crates.io | yaml-rust | >= 0.0.0-0, < 0.4.1 | 0.4.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2018-0006.html · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-20993 · ADVISORY
- https://github.com/chyh1990/yaml-rust/pull/109 · WEB
- https://github.com/chyh1990/yaml-rust/commit/d61b49cb90391fc4f7f72a1abe597476c8651a07 · WEB
- https://github.com/chyh1990/yaml-rust · PACKAGE
- https://crates.io/crates/yaml-rust · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Sep 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)