chyh1990/yaml-rust · Security
Uncontrolled recursion in rust-yaml
- GHSA ID
- GHSA-hv87-47h9-jcvq
- CVE ID
- CVE-2018-20993
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
Affected versions of this crate did not prevent deep recursion while deserializing data structures. This allows an attacker to make a YAML file with deeply nested structures that causes an abort while deserializing it. The flaw was corrected by checking the recursion depth.
CWEs
- CWE-674 · Uncontrolled Recursion