CVE-2019-19333 Memory corruption in libyang
A stack-based buffer overflow in libyang allows attackers to cause denial of service or execute code via malicious YANG files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-19333?
CVE-2019-19333 is a high-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 6 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
Which versions are affected by CVE-2019-19333?
It affects 2 products.
Products include Cesnet Libyang, Redhat Enterprise Linux.
How do I fix CVE-2019-19333?
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-19333 being exploited?
There is no known exploitation of CVE-2019-19333 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as DEBIAN-CVE-2019-19333, GHSA-68cw-w9pp-fc96.