CVE-2021-28905
JSON

7.5high

In function lysnodefree() in libyang <= v1.0.225, it asserts that the value of node-module can't be NULL.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.42% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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).

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
cesnet libyangup to 1.0.225NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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 (es)

En la función lys_node_free() en libyang versiones anteriores a v1.0.225 incluyéndola, afirma que el valor de node-)module no puede ser NULL.&#xa0;Pero en algunos casos, node-) module puede ser nulo, lo que desencadena una aserción alcanzable (CWE-617)

References

https://github.com/CESNET/libyang/issues/1452exploit, issue-tracking, patch, third-party-advisory
https://security.gentoo.org/glsa/202107-54third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-28905 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-28905 changed 2026-06-17Public domain