PT-2020-1238 · Libyang · Libyang
Jvijtiuko
·
Published
2020-01-22
·
Updated
2023-09-20
·
CVE-2019-20394
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
libyang versions prior to v1.0-r3
Description
A double-free issue is present in the
yyparse() function when a type statement is used in a notification statement. This affects applications that use libyang to parse untrusted input yang files, potentially causing a crash or code execution.Recommendations
For versions prior to v1.0-r3, update to version v1.0-r3 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
yyparse() function when parsing untrusted input yang files until a patch is available.Exploit
Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Libyang