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

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via stack consumption and application crash by providing a crafted YAML file to the yaml-cpp library.

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-6285?

CVE-2019-6285 is a medium-severity denial of service vulnerability in n/a, published on 14 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

The SingleDocParser::HandleFlowSequence function in yaml-cpp (aka LibYaml-C++) 0.6.2 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.

Weakness: CWE-674

Which versions are affected by CVE-2019-6285?

It affects 1 product.

Products include Yaml-Cpp Project Yaml-Cpp.

How do I fix CVE-2019-6285?

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-6285 being exploited?

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

Sources

Also known as AZL-7008, CVE-2018-20710, DEBIAN-CVE-2019-6285, GHSA-hg7f-3vww-rc69, UBUNTU-CVE-2019-6285.

Is CVE-2019-6285 in your software?

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

Check your SBOMs for free