Description
An issue was discovered in the yaml-rust crate before 0.4.1 for Rust. There is uncontrolled recursion during deserialization.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | rust-yaml-rust | No fix yet | — |
| Ubuntu 22.04 LTS | rust-yaml-rust | No fix yet | — |
| Ubuntu 20.04 LTS | rust-yaml-rust | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | yaml-rust | < 0.4.1 | 0.4.1 | GHSA-hv87-47h9-jcvq |
| crates.io | yaml-rust | >= 0.0.0-0, < 0.4.1 | 0.4.1 | RUSTSEC-2018-0006 |