Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cesnet | Libyang | 0.11 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793924Issue TrackingThird Party Advisory
- https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc23Third Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/724ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793924Issue TrackingThird Party Advisory
- https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc23Third Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/724ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
FAQ
What is CVE-2019-20395?
CVE-2019-20395 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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.
How severe is CVE-2019-20395?
CVE-2019-20395 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-20395?
Check the references section above for vendor advisories and patch information. Affected products include: Cesnet Libyang.