PT-2018-15486 · Rust · Yaml-Rust
Published
2018-09-17
·
Updated
2021-08-25
·
CVE-2018-20993
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
yaml-rust versions prior to 0.4.1
Description
An issue in the yaml-rust crate allows uncontrolled recursion during deserialization, which can be exploited by an attacker to create a YAML file with deeply nested structures. This can cause an abort while deserializing the file. The flaw was corrected by checking the recursion depth.
Recommendations
For versions prior to 0.4.1, update to version 0.4.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of deeply nested YAML structures to minimize the risk of exploitation.
Fix
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Yaml-Rust