Uncontrolled Recursion Affecting yaml-cpp package, versions <0.6.3-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.88% (79th 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 IDSNYK-DEBIANUNSTABLE-YAMLCPP-270814
  • published15 Jan 2019
  • disclosed15 Jan 2019

Introduced: 15 Jan 2019

CVE-2019-6292  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Debian:unstable yaml-cpp to version 0.6.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yaml-cpp package and not the yaml-cpp package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

An issue was discovered in singledocparser.cpp in yaml-cpp (aka LibYaml-C++) 0.6.2. Stack Exhaustion occurs in YAML::SingleDocParser, and there is a stack consumption problem caused by recursive stack frames: HandleCompactMap, HandleMap, HandleFlowSequence, HandleSequence, HandleNode. Remote attackers could leverage this vulnerability to cause a denial-of-service via a cpp file.