Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXJwY2gtY3FqOS1oNjVy
High severity vulnerability that affects YamlDotNet and YamlDotNet.Signed
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.
Permalink: https://github.com/advisories/GHSA-rpch-cqj9-h65rJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXJwY2gtY3FqOS1oNjVy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 6 years ago
Updated: almost 2 years ago
CVSS Score: 7.8
CVSS vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Identifiers: GHSA-rpch-cqj9-h65r, CVE-2018-1000210
References:
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000210
- https://github.com/aaubry/YamlDotNet#version-500
- https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35
- https://github.com/advisories/GHSA-rpch-cqj9-h65r
Blast Radius: 1.0
Affected Packages
nuget:YamlDotNet.Signed
Dependent packages: 28Dependent repositories: 0
Downloads: total
Affected Version Ranges: <= 4.3.2
Fixed in: 5.0.0
All affected versions: 3.3.1, 3.4.0, 3.5.0, 3.5.1, 3.6.0, 3.6.1, 3.7.0, 3.8.0, 3.9.0, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.3.0, 4.3.1, 4.3.2
All unaffected versions: 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.3.0, 5.3.1, 5.4.0, 6.0.0
nuget:YamlDotNet
Dependent packages: 560Dependent repositories: 0
Downloads: 243,050,774 total
Affected Version Ranges: <= 4.3.2
Fixed in: 5.0.0
All affected versions: 3.0.0, 3.1.0, 3.1.1, 3.2.0, 3.2.1, 3.2.2, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.5.1, 3.6.0, 3.6.1, 3.7.0, 3.8.0, 3.9.0, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.3.0, 4.3.1, 4.3.2
All unaffected versions: 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.2.1, 5.3.0, 5.3.1, 5.4.0, 6.0.0, 6.1.1, 6.1.2, 7.0.0, 8.0.0, 8.1.0, 8.1.1, 8.1.2, 9.1.0, 9.1.1, 9.1.2, 9.1.3, 9.1.4, 10.0.0, 10.1.0, 11.0.1, 11.1.0, 11.1.1, 11.2.0, 11.2.1, 12.0.0, 12.0.1, 12.0.2, 12.1.0, 12.2.0, 12.2.1, 12.3.0, 12.3.1, 13.0.0, 13.0.1, 13.0.2, 13.1.0, 13.1.1, 13.2.0, 13.3.1, 13.4.0, 13.5.0, 13.5.1, 13.5.2, 13.7.0, 13.7.1, 15.1.0, 15.1.1, 15.1.2, 15.1.4, 15.1.6, 15.3.0, 16.0.0, 16.1.0, 16.1.1, 16.1.2, 16.1.3, 16.2.0, 16.2.1