CVE-2019-20398NULL Pointer Dereference in Libyang

Severity
6.5MEDIUMNVD
EPSS
0.2%
top 57.29%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 22
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/libyang< libyang 1.0.176-1 (bullseye)
Debiancesnet/libyang< 1.0.176-1+2
NVDcesnet/libyang7 versions+6

Patches

🔴Vulnerability Details

2
GHSA
GHSA-q259-qj8c-5r52: A NULL pointer dereference is present in libyang before v12022-05-24
OSV
CVE-2019-20398: A NULL pointer dereference is present in libyang before v12020-01-22

📋Vendor Advisories

2
Red Hat
libyang: NULL pointer dereference in function lys_extension_instances_free()2019-04-29
Debian
CVE-2019-20398: libyang - A NULL pointer dereference is present in libyang before v1.0-r3 in the function ...2019

💬Community

2
Bugzilla
CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free() [fedora-all]2020-02-03
Bugzilla
CVE-2019-20398 libyang: NULL pointer dereference in function lys_extension_instances_free()2020-01-22