medium6.5
CVE-2019-20398
A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_re…
Impact
A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Cesnet | Libyang | Versions 0.11, 0.12, 0.13, 0.14, 0.15, 0.16 |
Weakness classification
References
- NVD record
- CVE.org record
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
- https://github.com/CESNET/libyang/issues/773
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1793935
- https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
- https://github.com/CESNET/libyang/issues/773
- https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html