Double Free in libyang - CVE-2019-20394

 

Double Free in libyang - CVE-2019-20394

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


Vulnerability identifier: #VU34864
CSH Severity: High
CVSS v4: 8.6 [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]
CVE-ID: CVE-2019-20394
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

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.


Affected software

libyang
Dell EMC PowerProtect Data Protection
SmartFabric OS10
Red Hat Enterprise Linux for x86_64
libyang (Red Hat package)

How to mitigate CVE-2019-20394

Install update from vendor's website.

Dell EMC PowerProtect Data Protection - update to 2.7.8
SmartFabric OS10 - addressed in versions 10.5.5.9, 10.5.6.1
libyang (Red Hat package) - update to 1.0.184-1.el8

External References

Related Security Bulletins