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
Link | Resource |
---|---|
https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35 | Third Party Advisory |
https://github.com/aaubry/YamlDotNet#version-500 | Third Party Advisory |
Configurations
Information
Published : 2018-07-13 11:29
Updated : 2020-08-24 10:37
NVD link : CVE-2018-1000210
Mitre link : CVE-2018-1000210
JSON object : View
CWE
Products Affected
yamldotnet_project
- yamldotnet