CVE-2021-28905

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).
References
Link Resource
https://github.com/CESNET/libyang/issues/1452 Exploit Issue Tracking Patch Third Party Advisory
https://security.gentoo.org/glsa/202107-54 Third Party Advisory
https://github.com/CESNET/libyang/issues/1452 Exploit Issue Tracking Patch Third Party Advisory
https://security.gentoo.org/glsa/202107-54 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:00

Type Values Removed Values Added
References () https://github.com/CESNET/libyang/issues/1452 - Exploit, Issue Tracking, Patch, Third Party Advisory () https://github.com/CESNET/libyang/issues/1452 - Exploit, Issue Tracking, Patch, Third Party Advisory
References () https://security.gentoo.org/glsa/202107-54 - Third Party Advisory () https://security.gentoo.org/glsa/202107-54 - Third Party Advisory

Information

Published : 2021-05-20 19:15

Updated : 2024-11-21 06:00


NVD link : CVE-2021-28905

Mitre link : CVE-2021-28905

CVE.ORG link : CVE-2021-28905


JSON object : View

Products Affected

cesnet

  • libyang
CWE
CWE-617

Reachable Assertion