CVE-2021-28902

Name
CVE-2021-28902
Description
In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/CESNET/libyang/issues/1454
GENTOO https://security.gentoo.org/glsa/202107-54

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:* libyang >= None <= 1.0.225

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
libyang 3.13-community 1.0.184-r1 Christian Franke <nobody@nowhere.ws> fixed
libyang 3.14-community 1.0.215-r1 Christian Franke <nobody@nowhere.ws> fixed