Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cesnet | Libyang | 0.11 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793928Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8dPatchThird Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/739Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793928Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8dPatchThird Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/739Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
FAQ
What is CVE-2019-20397?
CVE-2019-20397 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 vuln...
How severe is CVE-2019-20397?
CVE-2019-20397 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-20397?
Check the references section above for vendor advisories and patch information. Affected products include: Cesnet Libyang.