#VU34868 NULL pointer dereference in libyang - CVE-2019-20398

 

#VU34868 NULL pointer dereference in libyang - CVE-2019-20398

Published: January 22, 2020 / Updated: October 8, 2021


Vulnerability identifier: #VU34868
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-20398
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
libyang
Software vendor:
CESNET

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error 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. A remote attacker can perform a denial of service (DoS) attack.


Remediation

Install update from vendor's website.

External links