8.8

CVE-2019-20394

Exploit
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Cesnet ≫ Libyang Version 0.11 Update r1
Cesnet ≫ Libyang Version 0.11 Update r2
Cesnet ≫ Libyang Version 0.12 Update r1
Cesnet ≫ Libyang Version 0.12 Update r2
Cesnet ≫ Libyang Version 0.13 Update r1
Cesnet ≫ Libyang Version 0.13 Update r2
Cesnet ≫ Libyang Version 0.14 Update r1
Cesnet ≫ Libyang Version 0.15 Update r1
Cesnet ≫ Libyang Version 0.16 Update r1
Cesnet ≫ Libyang Version 0.16 Update r2
Cesnet ≫ Libyang Version 0.16 Update r3
Cesnet ≫ Libyang Version 1.0 Update r1
Cesnet ≫ Libyang Version 1.0 Update r2
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 2.79% 0.845
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NIST 6.8 8.6 6.4
AV:N/AC:M/Au:N/C:P/I:P/A:P
CWE-415 Double Free

The product calls free() twice on the same memory address.

https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
https://bugzilla.redhat.com/show_bug.cgi?id=1793932
Patch
Third Party Advisory
Issue Tracking
https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289a6
Patch
Third Party Advisory
https://github.com/CESNET/libyang/issues/769
Third Party Advisory
Exploit