CVE-2019-20397 Memory corruption in n/a
A double-free vulnerability in libyang allows attackers to cause crashes or execute code via malicious YANG files.
- 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-20397?
CVE-2019-20397 is a high-severity memory corruption 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 double-free is present in libyang before v1.0-r1 in the function yyparse() when an organization field is not terminated. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.
Weakness: CWE-415
Which versions are affected by CVE-2019-20397?
It affects 1 product.
Products include Cesnet Libyang.
How do I fix CVE-2019-20397?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-20397 being exploited?
There is no known exploitation of CVE-2019-20397 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2019-20397, GHSA-5hg2-f3wf-x3c3, UBUNTU-CVE-2019-20397.