CVE-2018-1000210

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:yamldotnet_project:yamldotnet:*:*:*:*:*:*:*:*

History

21 Nov 2024, 03:39

Type Values Removed Values Added
References () https://github.com/aaubry/YamlDotNet#version-500 - Third Party Advisory () https://github.com/aaubry/YamlDotNet#version-500 - Third Party Advisory
References () https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35 - Third Party Advisory () https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35 - Third Party Advisory

Information

Published : 2018-07-13 18:29

Updated : 2024-11-21 03:39


NVD link : CVE-2018-1000210

Mitre link : CVE-2018-1000210

CVE.ORG link : CVE-2018-1000210


JSON object : View

Products Affected

yamldotnet_project

  • yamldotnet
CWE
CWE-502

Deserialization of Untrusted Data

CWE-639

Authorization Bypass Through User-Controlled Key