Live threats

All CVEs / Yamldotnet Project

CVE-2018-1000210Yamldotnet Project Yamldotnet

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 74
Auth required
Yes
Published
Jul 13, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502, CWE-639
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

YamlDotNet version 4.3.2 and earlier contains a Insecure Direct Object Reference vulnerability in The default behavior of Deserializer.Deserialize() will deserialize user-controlled types in the line "currentType = Type.GetType(nodeEvent.Tag.Substring(1), throwOnError: false);" and blindly instantiates them. that can result in Code execution in the context of the running process. This attack appear to be exploitable via Victim must parse a specially-crafted YAML file. This vulnerability appears to have been fixed in 5.0.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yamldotnet.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet YamlDotNet < 5.0.0 5.0.0 dotnet add package YamlDotNet --version 5.0.0
NuGet YamlDotNet.Signed < 5.0.0 5.0.0 dotnet add package YamlDotNet.Signed --version 5.0.0

Per OSV / GitHub Advisories (GHSA-rpch-cqj9-h65r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yamldotnet_projectyamldotnet≤ 4.3.2

Official sources

References

Links published by the sources. Open them with care.