PT-2020-1239 · Libyang · Libyang

·

CVE-2019-20395

·

Published

2020-01-22

·

Updated

2023-09-20

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions libyang versions prior to 1.0-r1
Description A stack consumption issue is present due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.
Recommendations For versions prior to 1.0-r1, update to version 1.0-r1 or later to resolve the issue. As a temporary workaround, consider restricting the parsing of untrusted input yang files until a patch is available. Avoid using libyang to parse potentially malicious yang files to minimize the risk of exploitation.

Exploit

Fix

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALEA-2021:1906
CVE-2019-20395
DLA-3572-1

Affected Products

Libyang