Double Free in Cesnet Libyang
CVE-2019-20394
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.028, 86.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cesnet Libyang — versions 0.11, 0.12, 0.13
Weakness classification (CWE)
References
- github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 (Third Party Advisory)
- github.com/CESNET/libyang/issues/769 (Exploit, Third Party Advisory)
- github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289a6 (Patch, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update (mailing-list)