CVE-2019-20395 Denial of service in n/a
A stack consumption vulnerability in libyang allows attackers to crash applications parsing untrusted YANG files via self-referential union types.
- 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-20395?
CVE-2019-20395 is a medium-severity denial of service vulnerability in n/a, published on 22 Jan 2020. 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
A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.
Weakness: CWE-674
Which versions are affected by CVE-2019-20395?
It affects 1 product.
Products include Cesnet Libyang.
How do I fix CVE-2019-20395?
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-20395 being exploited?
There is no known exploitation of CVE-2019-20395 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2019-20395, GHSA-3ffh-3h59-484g, UBUNTU-CVE-2019-20395.