CVE-2021-28905

HIGH

libyang <= 1.0.225 - Reachable Assertion in lys_node_free()

Title source: llm
STIX 2.1

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

References (2)

Core 2
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/CESNET/libyang/issues/1452
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202107-54

Scores

CVSS v3 7.5
EPSS 0.0142
EPSS Percentile 69.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-617
Status published
Products (1)
cesnet/libyang < 1.0.225
Published May 20, 2021
Tracked Since Feb 18, 2026