yaml-rust
Affected
- introduced
0.0.0-0, fixed0.4.1(semver)
Fixed versions
0.4.1
Fix
- Fixed version
0.4.1cargo update -p yaml-rust --precise 0.4.1
Advisory
Also known as: CVE-2018-20993, GHSA-hv87-47h9-jcvq
Uncontrolled recursion leads to abort in deserialization
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.
Note: clap 2.33 is not affected by this because it uses yaml-rust
in a way that doesn't trigger the vulnerability. More specifically:
time via include_str!.
(at most 5).
High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0.0.0-0, fixed 0.4.1 (semver)0.4.1
0.4.1cargo update -p yaml-rust --precise 0.4.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0