First published: Thu May 20 2021(Updated: )
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).
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
CESNET libyang | <=1.0.225 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-28905 is rated as a high severity vulnerability due to its potential to trigger assertion failures.
To fix CVE-2021-28905, upgrade to libyang version 1.0.226 or later.
CVE-2021-28905 affects libyang versions up to and including 1.0.225.
Exploiting CVE-2021-28905 can result in application crashes due to assertion failures.
CVE-2021-28905 is primarily a local vulnerability since it affects the internals of the libyang library.