Arbitrary Code Execution Affecting yamldotnet package, versions [,5.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.09% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-YAMLDOTNET-60255
  • published19 Jul 2018
  • disclosed13 Jul 2018
  • creditKurt Boberg

Introduced: 13 Jul 2018

CVE-2018-1000210  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade yamldotnet to version 5.0.0 or higher.

Overview

yamldotnetprovides low level parsing and emitting of YAML as well as a high level object model similar to XmlDocument.

Affected versions of this package are vulnerable to Arbitrary Code Execution.

The Deserializer.Deserialize() function deserializes user-controlled types and blindly instantiates them. An attacker may send a specually crafted yaml file, which will then execute code in the context of the running process.

References

CVSS Scores

version 3.1