Advisory

RUSTSEC-2018-0005

Also known as: GHSA-39vw-qp34-rmwf

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

Not rated by the source.

Dates

Published
2018-09-17 12: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: RustSec Advisory Database · CC0-1.0

Sources & licences