PT-2021-4113
CVE-2021-28906
·
Published
2021-03-08
·
Updated
2022-09-12
Description by
CVSS 3.1
7.5
HighMetricsAV: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 leaf() 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 when 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
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾