CVE-2019-6292 Denial of service in n/a

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via stack exhaustion in the yaml-cpp library by submitting a malicious YAML file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-6292?

CVE-2019-6292 is a medium-severity denial of service vulnerability in n/a, published on 15 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-674

Which versions are affected by CVE-2019-6292?

It affects 1 product.

Products include Yaml-Cpp Project Yaml-Cpp.

How do I fix CVE-2019-6292?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-6292 being exploited?

There is no known exploitation of CVE-2019-6292 in the wild and no public exploit code.

Sources

Also known as AZL-7009, DEBIAN-CVE-2019-6292, GHSA-v84h-mwmj-46pf, UBUNTU-CVE-2019-6292.

Is CVE-2019-6292 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free