GitHub Advisoryadvisory · NuGet

GHSA-rpch-cqj9-h65r High severity vulnerability that affects YamlDotNet and YamlDotNet.Signed

HIGH Published 2018-10-16 Modified 2021-09-17 Official page ↗
Aliases
CVE-2018-1000210
Ecosystem
NuGet
Packages
YamlDotNet, YamlDotNet.Signed
Severity
High
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-502, CWE-639
Reviewed
2020-06-16

Affected packages

• NuGet YamlDotNet: < 5.0.0 → fixed in 5.0.0 • NuGet YamlDotNet.Signed: < 5.0.0 → 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.

Related

Alias · CVE (1)

  • CVE-2018-1000210 YamlDotNet version 4.3.2 and earlier contains a Insecure Direct Object Reference vulnerability in The default behavior of… vulnerability

Weakness · CWE (2)

  • CWE-502 Deserialization of Untrusted Data weakness
  • CWE-639 Authorization Bypass Through User-Controlled Key weakness

References