Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. YamlDotNet.Signed
  4. ›
  5. CVE-2018-1000210

CVE-2018-1000210: Authorization Bypass Through User-Controlled Key

October 16, 2018 (updated September 17, 2021)

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.

References

  • github.com/aaubry/YamlDotNet
  • github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs
  • github.com/advisories/GHSA-rpch-cqj9-h65r
  • nvd.nist.gov/vuln/detail/CVE-2018-1000210

Code Behaviors & Features

Detect and mitigate CVE-2018-1000210 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.3.2

Fixed versions

  • 5.0.0

Solution

Upgrade to version 5.0.0 or above.

Impact 7.8 HIGH

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

nuget/YamlDotNet.Signed/CVE-2018-1000210.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.