Advisory

GHSA-hv87-47h9-jcvq

Also known as: CVE-2018-20993, RUSTSEC-2018-0006

Summary

Uncontrolled recursion in rust-yaml

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:43 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

yaml-rust

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.1 (semver)

Fixed versions

0.4.1

Fix

  • Fixed version 0.4.1
    cargo update -p yaml-rust --precise 0.4.1

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences