PT-2021-4097

CVE-2021-28902

·

Published

2021-03-08

·

Updated

2022-09-12

Description by

CVSS 3.1
7.5
High
MetricsAV: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.226
Description The issue is related to the function read yin container() in the libyang library, which fails to check if the value of retval->ext[r] is NULL. This can lead to a crash when attempting to access retval->ext[r]->flags if retval->ext[r] is NULL. The vulnerability can be exploited by a remote attacker to cause a denial of service.
Recommendations For libyang versions prior to 1.0.226, update to version 1.0.226 or later to resolve the issue. As a temporary workaround, consider adding a NULL check for retval->ext[r] before accessing its members to prevent the crash.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
OPENSUSE-SU-2022_3245-1
SUSE-SU-2022:3245-1
SUSE-SU-2022_3245-1
Found an issue in the description? Have something to add? Feel free to write us 👾