Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cesnet | Libyang | 0.11 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f0Patch
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/773ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f0Patch
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/773ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
FAQ
What is CVE-2019-20398?
CVE-2019-20398 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2019-20398?
CVE-2019-20398 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-20398?
Check the references section above for vendor advisories and patch information. Affected products include: Cesnet Libyang.