Skip to content

High severity vulnerability that affects YamlDotNet and YamlDotNet.Signed

High severity GitHub Reviewed Published Oct 16, 2018 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

nuget YamlDotNet (NuGet)

Affected versions

<= 4.3.2

Patched versions

5.0.0
nuget YamlDotNet.Signed (NuGet)
<= 4.3.2
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.

References

Published to the GitHub Advisory Database Oct 16, 2018
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVE ID

CVE-2018-1000210

GHSA ID

GHSA-rpch-cqj9-h65r

Source code

ps://github.com/aaubry/YamlDotNet
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.