#VU34867 Double Free in libyang - CVE-2019-20397

 

#VU34867 Double Free in libyang - CVE-2019-20397

Published: January 22, 2020 / Updated: August 8, 2020


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

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Remediation

Install update from vendor's website.

External links