CVE-2021-28904

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
Link Resource
https://github.com/CESNET/libyang/issues/1451 Exploit Issue Tracking Third Party Advisory
https://security.gentoo.org/glsa/202107-54 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*

History

05 Apr 2022, 18:08

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202107-54 - Third Party Advisory

24 May 2021, 17:05

Type Values Removed Values Added
CPE cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*
CWE CWE-252
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (CONFIRM) https://github.com/CESNET/libyang/issues/1451 - (CONFIRM) https://github.com/CESNET/libyang/issues/1451 - Exploit, Issue Tracking, Third Party Advisory

20 May 2021, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-05-20 19:15

Updated : 2024-02-04 21:47


NVD link : CVE-2021-28904

Mitre link : CVE-2021-28904

CVE.ORG link : CVE-2021-28904


JSON object : View

Products Affected

cesnet

  • libyang
CWE
CWE-252

Unchecked Return Value