Uncontrolled Recursion Affecting yaml-cpp-devel package, versions <0.6.1-4.5.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.14% (52nd 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-SLES153-YAMLCPPDEVEL-2813700
  • published11 May 2022
  • disclosed1 Apr 2022

Introduced: 1 Apr 2022

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

How to fix?

Upgrade SLES:15.3 yaml-cpp-devel to version 0.6.1-4.5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream yaml-cpp-devel package and not the yaml-cpp-devel package as distributed by SLES. See How to fix? for SLES:15.3 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.