Arbitrary Code Execution Affecting yamldotnet Open this link in a new tab package, versions [,5.0.0)


0.0
high
  • Attack Complexity

    Low

  • User Interaction

    Required

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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-id

    SNYK-DOTNET-YAMLDOTNET-60255

  • published

    19 Jul 2018

  • disclosed

    13 Jul 2018

  • credit

    Kurt Boberg

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