CVE-2021-28905Reachable Assertion in Libyang

Severity
7.5HIGHNVD
EPSS
0.4%
top 38.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 20
Latest updateMay 24

Description

In function lys_node_free() in libyang module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617).

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages4 packages

debiandebian/libyang< libyang 3.4.2+dfsg-2 (forky)
debiandebian/libyang2< libyang 3.4.2+dfsg-2 (forky)
Debiancesnet/libyang< 3.4.2+dfsg-2+1
NVDcesnet/libyang1.0.225

Patches

🔴Vulnerability Details

2
GHSA
GHSA-qj7j-m28f-g68x: In function lys_node_free() in libyang module can't be NULL2022-05-24
OSV
CVE-2021-28905: In function lys_node_free() in libyang module can't be NULL2021-05-20

📋Vendor Advisories

2
Red Hat
libyang: reachable assertion in lys_node_free()2021-03-08
Debian
CVE-2021-28905: libyang - In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of...2021