Advisory

GHSA-39vw-qp34-rmwf

Also known as: RUSTSEC-2018-0005

Summary

Uncontrolled recursion leads to abort in deserialization

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 21:00 UTC
Modified
2023-11-08 04:14 UTC

Affected packages and fixes

serde_yaml

crates.io · All systems

Affected

  • introduced 0.6.0-rc1, fixed 0.8.4 (semver)

Fixed versions

0.8.4

Fix

  • Fixed version 0.8.4
    cargo update -p serde_yaml --precise 0.8.4

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