CVE-2021-28902

In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 28%
VendorProductVersion
cesnetlibyang
𝑥
≤ 1.0.225
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libyang
bullseye
no-dsa
buster
no-dsa
sid
3.4.2+dfsg-2
fixed
libyang2
bookworm
2.1.30-2
fixed
bullseye
no-dsa
buster
no-dsa
sid
2.1.148-0.2
fixed
trixie
2.1.148-0.2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libyang
noble
dne
mantic
dne
lunar
dne
kinetic
ignored
jammy
needed
impish
ignored
hirsute
ignored
groovy
ignored
focal
needed
bionic
dne
xenial
ignored
trusty
dne