GHSA-39vw-qp34-rmwf
MEDIUMUncontrolled recursion leads to abort in deserialization
Affected versions of this crate did not properly check for recursion while deserializing aliases. This allows an attacker to make a YAML file with an alias referring to itself causing an abort. The flaw was corrected by checking the recursion depth.
- Published
- 17 Sep 2018
- Last modified
- 8 Nov 2023
- Weakness
- CWE-674
- Also known as
- RUSTSEC-2018-0005
- Sources
- OSVJSONOSV RUSTSEC-2018-0005JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | serde_yaml | >= 0.6.0-rc1, < 0.8.4 | 0.8.4 |
References
- https://github.com/dtolnay/serde-yaml/pull/105 · WEB
- https://github.com/dtolnay/serde-yaml/commit/b93aff6e904cffbbfd1f421b82f6dcc5ca19a4fd · WEB
- https://github.com/dtolnay/serde-yaml · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2018-0005.html · WEB, ADVISORY
- https://crates.io/crates/serde_yaml · PACKAGE
History
- 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)