CVE-2021-28905

Name
CVE-2021-28905
Description
In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617).
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/1452
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