Double Free in Cesnet Libyang
CVE-2019-20397
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.
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.025, 85.0th 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/v0.16-r3...v1.0-r1 (Third Party Advisory)
- github.com/CESNET/libyang/issues/739 (Third Party Advisory)
- github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4 (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)