Vulnerability Description
A double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. 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=1793930Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450ePatchThird Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/742ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793930Issue TrackingPatchThird Party Advisory
- https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450ePatchThird Party Advisory
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
- https://github.com/CESNET/libyang/issues/742ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
FAQ
What is CVE-2019-20393?
CVE-2019-20393 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 empty description is used. Applications that use libyang to parse untrusted input yang files may be vulnerable to t...
How severe is CVE-2019-20393?
CVE-2019-20393 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-20393?
Check the references section above for vendor advisories and patch information. Affected products include: Cesnet Libyang.