PT-2021-4098 · Libyang+2 · Libyang+2

Zounathan

·

Published

2021-03-08

·

Updated

2022-09-12

·

CVE-2021-28903

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions libyang versions prior to 1.0.225
Description The issue is related to a stack overflow in the libyang library, which can cause a denial of service. This occurs due to uncontrolled recursion of the lyxml parse elem() function when lyxml parse mem() is called. The exploitation of this issue can allow a remote attacker to cause a denial of service.
Recommendations For versions prior to 1.0.225, update to version 1.0.225 or later to resolve the issue. As a temporary workaround, consider restricting the use of the lyxml parse mem() function until a patch is available.

Exploit

Fix

DoS

Uncontrolled Recursion

Weakness Enumeration

Related Identifiers

BDU:2021-04681
CVE-2021-28903
OPENSUSE-SU-2022_3245-1
SUSE-SU-2022:3245-1

Affected Products

Debian
Suse
Libyang