CVE-2018-20573 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-2018-20573?

CVE-2018-20573 is a medium-severity denial of service vulnerability in n/a, published on 28 Dec 2018. 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 Scanner::EnsureTokensInQueue 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-119

Which versions are affected by CVE-2018-20573?

It affects 1 product.

Products include Yaml-Cpp Project Yaml-Cpp.

How do I fix CVE-2018-20573?

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-2018-20573 being exploited?

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

Sources

Also known as AZL-7006, DEBIAN-CVE-2018-20573, GHSA-wff4-h782-3qx9, UBUNTU-CVE-2018-20573.

Is CVE-2018-20573 in your software?

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

Check your SBOMs for free