Uncontrolled Recursion Affecting libyaml-cpp0_6 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
1.24% (80th 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-SLES152-LIBYAMLCPP06-5406469
  • published4 Apr 2023
  • disclosed3 Apr 2023

Introduced: 3 Apr 2023

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

How to fix?

Upgrade SLES:15.2 libyaml-cpp0_6 to version 0.6.1-4.5.1 or higher.

NVD Description

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