PT-2020-1241 · Libyang · Libyang
Juraj Vijtiuk
·
Published
2020-01-22
·
Updated
2023-09-20
·
CVE-2019-20397
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-r1
Description
A double-free issue is present in the
yyparse() function when an organization field is not terminated, potentially causing a crash or code execution. This affects applications that use libyang to parse untrusted input yang files.Recommendations
For versions prior to v1.0-r1, update to version v1.0-r1 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.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