CVE-2018-20574 Denial of service in n/a
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-20574?
CVE-2018-20574 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 SingleDocParser::HandleFlowMap 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-20574?
It affects 1 product.
Products include Yaml-Cpp Project Yaml-Cpp.
How do I fix CVE-2018-20574?
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-20574 being exploited?
There is no known exploitation of CVE-2018-20574 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as AZL-7007, DEBIAN-CVE-2018-20574, GHSA-mj28-fjwp-xqh8, UBUNTU-CVE-2018-20574.