CVE-2021-28904

HIGH

libyang <= 1.0.225 - Denial of Service via Unchecked Return Value in ext_get_plugin()

Title source: llm
STIX 2.1

Description

In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. If revision is NULL, the operation of strcmp(revision, ext_plugins[u].revision) will lead to a crash.

References (2)

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

Scores

CVSS v3 7.5
EPSS 0.0141
EPSS Percentile 69.0%
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-252
Status published
Products (1)
cesnet/libyang < 1.0.225
Published May 20, 2021
Tracked Since Feb 18, 2026