Vulnerability Description
A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. 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=1793932Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289aPatchThird Party Advisory
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/769ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793932Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289aPatchThird Party Advisory
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/769ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
FAQ
What is CVE-2019-20394?
CVE-2019-20394 is a vulnerability with a CVSS score of 8.8 (HIGH). A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang file...
How severe is CVE-2019-20394?
CVE-2019-20394 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-20394?
Check the references section above for vendor advisories and patch information. Affected products include: Cesnet Libyang.