CVE-2018-20993 json
Uncontrolled recursion in rust-yaml
published 2018-09-17 8 y ago modified 2026-06-17 4 mo ago also GHSA-hv87-47h9-jcvq , RUSTSEC-2018-0006 , EUVD-2021-1760
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
An issue was discovered in the yaml-rust crate before 0.4.1 for Rust. There is uncontrolled recursion during deserialization.
Patch / fix
- crates.io yaml-rust 0.4.1
- yaml-rust_project yaml-rust 0.4.1
- github.com/chyh1990/yaml-rust@d61b49c commit
- github.com/chyh1990/yaml-rust#109 pull request
- rustsec.org/advisories/RUSTSEC-2018-0006.html advisory
Exploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | yaml-rust | <0.4.1 >=0.0.0-0, <0.4.1 |
0.4.1 |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
rustsec.org
/advisories/RUSTSEC-2018-0006.html
web, patch, third-party-advisory, advisory
-
github.com
/chyh1990/yaml-rust/pull/109
web
-
github.com
/chyh1990/yaml-rust/commit/d61b49cb90391fc4f7f72a1abe597476c8651a07
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-20993
advisory
-
github.com
/chyh1990/yaml-rust
package
-
crates.io
/crates/yaml-rust
package
Sources
- CVE List CVE-2018-20993
- GitHub Advisory GHSA-hv87-47h9-jcvq
- NVD CVE-2018-20993
- OSV RUSTSEC-2018-0006
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.