CVE-2021-28904
published 2021-05-20CVE-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…
PriorityP434high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.41%
69.6th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cesnet | libyang | <= 1.0.225 | — |
| cesnet | libyang | >= 0 < 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
| cesnet | libyang | >= 0 < 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
| debian | libyang | < libyang 3.4.2+dfsg-2 (forky) | libyang 3.4.2+dfsg-2 (forky) |
| debian | libyang2 | < libyang 3.4.2+dfsg-2 (forky) | libyang 3.4.2+dfsg-2 (forky) |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wqxj-4m27-ccp4: In function ext_get_plugin() in libyang <= v1
ghsa_unreviewed·2022-05-24
CVE-2021-28904 [HIGH] CWE-252 GHSA-wqxj-4m27-ccp4: In function ext_get_plugin() in libyang <= v1
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.
OSV
CVE-2021-28904: In function ext_get_plugin() in libyang <= v1
osv·2021-05-20·CVSS 7.5
CVE-2021-28904 [HIGH] CVE-2021-28904: In function ext_get_plugin() in libyang <= v1
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.
Red Hat
libyang: NULL pointer dereference in ext_get_plugin()
vendor_redhat·2021-03-07·CVSS 7.5
CVE-2021-28904 [HIGH] CWE-476 libyang: NULL pointer dereference in ext_get_plugin()
libyang: NULL pointer dereference in ext_get_plugin()
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.
A flaw was found in libyang. A NULL pointer dereference in ext_get_plugin function allows a remote attacker to crash an application that uses libyang with user-controlled YANG data. The highest threat from this vulnerability is the service availability.
Package: libyang (Red Hat Enterprise Linux 8) - Will not fix
Package: libyang (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2021-28904: libyang - In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether th...
vendor_debian·2021·CVSS 7.5
CVE-2021-28904 [HIGH] CVE-2021-28904: libyang - In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether th...
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.
Scope: local
bullseye: open
forky: resolved (fixed in 3.4.2+dfsg-2)
sid: resolved (fixed in 3.4.2+dfsg-2)
trixie: resolved (fixed in 3.4.2+dfsg-2)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-05-20
Published