{"id":"GHSA-39vw-qp34-rmwf","aliases":["GHSA-39vw-qp34-rmwf","RUSTSEC-2018-0005"],"related":[],"kind":"vulnerability","state":"published","title":"Uncontrolled recursion leads to abort in deserialization","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2018-09-17T12:00:00.000Z","modified":"2023-11-08T04:14:33.650Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0.6.0-rc1","status":"affected","fixed":"0.8.4"}],"ecosystem":"crates.io","package":"serde_yaml","purl":"pkg:cargo/serde_yaml","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.6.0-rc1","status":"affected","fixed":"0.8.4"}],"ecosystem":"crates.io","package":"serde_yaml","purl":"pkg:cargo/serde_yaml","source":"rustsec"}],"references":[{"url":"https://github.com/dtolnay/serde-yaml/pull/105","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/dtolnay/serde-yaml/commit/b93aff6e904cffbbfd1f421b82f6dcc5ca19a4fd","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/dtolnay/serde-yaml","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0005.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/serde_yaml","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-39vw-qp34-rmwf","url":"https://github.com/advisories/GHSA-39vw-qp34-rmwf","licence":"CC-BY-4.0","modified":"2023-11-08T04:14:33.650Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2018-0005","url":"https://rustsec.org/advisories/RUSTSEC-2018-0005.html","licence":"CC0-1.0","modified":"2023-11-08T04:14:33.650Z"}],"updatedAt":"2026-11-25T22:56:42.917Z"}