Vulnerabilities · 2019 · Cesnet
CVE-2019-20398
Cesnet Libyang vulnerability
A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
Affected products
Libyang. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cesnet Libyang runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1793935 · Patch
- github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08 · Patch
- github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 · Third Party Advisory
- github.com/CESNET/libyang/issues/773 · Exploit
- lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- nvd.nist.gov/vuln/detail/CVE-2019-20398
- cve.org/CVERecord?id=CVE-2019-20398
More vulnerabilities in Cesnet products
CVE-2023-26917CVE-2023-26916CVE-2021-28906CVE-2021-28905CVE-2021-28904CVE-2021-28903CVE-2021-28902CVE-2020-5281All 20
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.