Live threats

All CVEs / Yaml-rust Project

CVE-2018-20993Yaml-rust Project Yaml-rust

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Aug 26, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue was discovered in the yaml-rust crate before 0.4.1 for Rust. There is uncontrolled recursion during deserialization.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yaml-rust.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io yaml-rust < 0.4.1 0.4.1 cargo update -p yaml-rust --precise 0.4.1
crates.io yaml-rust ≥ 0.0.0-0 < 0.4.1 0.4.1 cargo update -p yaml-rust --precise 0.4.1

Per OSV / GitHub Advisories (GHSA-hv87-47h9-jcvq, RUSTSEC-2018-0006). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yaml-rust_projectyaml-rust< 0.4.1

Official sources

References

Links published by the sources. Open them with care.