Loading...
Skip to main content

CVE-2018-1000210 — Vulnerability in YamlDotNet — CVE Details

HIGH

High severity vulnerability that affects YamlDotNet and YamlDotNet.Signed

Published October 16, 2018Updated November 8, 2023Source: osv

Summary

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.

Advisory Timeline

  • First published October 16, 2018 (2918 days ago).
  • Last revised November 8, 2023 — 1848 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update YamlDotNet to 5.0.0 or later
dotnet add package YamlDotNet --version 5.0.0
NuGet
Update YamlDotNet.Signed to 5.0.0 or later
dotnet add package YamlDotNet.Signed --version 5.0.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: nuget (2).

PackageEcosystemAffectedFixed In
YamlDotNet
nuget
2.3.0-rc, 3.0.0, 3.1.0, 3.1.1 (+161 more)5.0.0
YamlDotNet.Signed
nuget
3.3.1, 3.4.0, 3.5.0, 3.5.1 (+151 more)5.0.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE
  • CWE-639
    Insecure Direct Object Reference (IDOR)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.

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

Frequently Asked Questions

What is CVE-2018-1000210?
High severity vulnerability that affects YamlDotNet and YamlDotNet.Signed This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.8/10).
How do I check if my project is affected by CVE-2018-1000210?
CVE-2018-1000210 affects YamlDotNet and YamlDotNet.Signed. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1000210 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-rpch-cqj9-h65r

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies