CVE-2021-28905

libyang: reachable assertion in lys_node_free()

Published May 20, 2021 CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-15558 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).
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:55 PM
Reserved
Mar 19, 2021, 12:00 AM
Status
Modified
Published
May 20, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:47 AM
Severity
Moderate
Public date
Mar 8, 2021, 12:00 AM