CVE-2021-28902
published 2021-05-20CVE-2021-28902: In function read_yin_container() in libyang ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results…
PriorityP335high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.55%
72.4th percentile
In function read_yin_container() in libyang ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in 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.
Red Hat
libyang: NULL pointer dereference in read_yin_container()
vendor_redhat·2021-03-08·CVSS 7.5
CVE-2021-28902 [HIGH] CWE-476 libyang: NULL pointer dereference in read_yin_container()
libyang: NULL pointer dereference in read_yin_container()
In function read_yin_container() in libyang ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
A flaw was found in libyang. Missing checks in several read_yin_* functions lead to NULL pointer dereferences possibly allowing a remote attacker to crash an application that uses libyang with user-controlled YIN formats. 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-28902: libyang - In function read_yin_container() in libyang <= v1.0.225, it doesn't check whethe...
vendor_debian·2021·CVSS 7.5
CVE-2021-28902 [HIGH] CVE-2021-28902: libyang - In function read_yin_container() in libyang <= v1.0.225, it doesn't check whethe...
In function read_yin_container() in libyang ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in 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)
GHSA
GHSA-wcmm-c9rc-qjcj: In function read_yin_container() in libyang ext[r] is NULL
ghsa_unreviewed·2022-05-24
CVE-2021-28902 [HIGH] CWE-252 GHSA-wcmm-c9rc-qjcj: In function read_yin_container() in libyang ext[r] is NULL
In function read_yin_container() in libyang ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
OSV
CVE-2021-28902: In function read_yin_container() in libyang ext[r] is NULL
osv·2021-05-20·CVSS 7.5
CVE-2021-28902 [HIGH] CVE-2021-28902: In function read_yin_container() in libyang ext[r] is NULL
In function read_yin_container() in libyang ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-05-20
Published