CVE-2021-28903

A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). lyxml_parse_elem() function will be called recursively, which will consume stack space and lead to crash.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
Affected Products (NVD)
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
bionic
dne
focal
needed
groovy
ignored
hirsute
ignored
impish
ignored
jammy
needed
kinetic
ignored
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
ignored
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libyang-extentions
suse enterprise sap 15 SP3
1.0.184-150300.3.6.1
fixed
suse enterprise sap 15 SP4
1.0.184-150300.3.6.1
fixed
suse enterprise server 15 SP3
1.0.184-150300.3.6.1
fixed
suse enterprise server 15 SP4
1.0.184-150300.3.6.1
fixed
libyang1
suse enterprise sap 15 SP3
1.0.184-150300.3.6.1
fixed
suse enterprise sap 15 SP4
1.0.184-150300.3.6.1
fixed
suse enterprise server 15 SP3
1.0.184-150300.3.6.1
fixed
suse enterprise server 15 SP4
1.0.184-150300.3.6.1
fixed