CVEvulnerability

CVE-2021-28905

7.5 HIGH Published 2021-05-20 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-05-20
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-617

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 configurations

• cesnet libyang (<= 1.0.225)

Related

Weakness · CWE (1)

  • CWE-617 Reachable Assertion weakness

References