CVE-2018-1000210Yamldotnet Project Yamldotnet
High 7.8
Follow: this CVE · Yamldotnet Project · Yamldotnet Project Yamldotnet We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Yamldotnet.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| yamldotnet_project | yamldotnet | ≤ 4.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory