CVE-2021-28903
published 2021-05-20CVE-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…
PriorityP337high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.43%
82.5th percentile
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.
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: recursive call to lyxml_parse_mem() lead to crash
vendor_redhat·2021-03-08·CVSS 7.5
CVE-2021-28903 [HIGH] CWE-674 libyang: recursive call to lyxml_parse_mem() lead to crash
libyang: recursive call to lyxml_parse_mem() lead to crash
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.
A flaw was found in libyang. An uncontrolled recursion in lyxml_parse_elem function allows a remote attacker to crash an application that uses libyang with user-controlled XML 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-28903: libyang - A stack overflow in libyang <= v1.0.225 can cause a denial of service through fu...
vendor_debian·2021·CVSS 7.5
CVE-2021-28903 [HIGH] CVE-2021-28903: libyang - A stack overflow in libyang <= v1.0.225 can cause a denial of service through fu...
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.
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-vr34-263x-7q3r: A stack overflow in libyang <= v1
ghsa_unreviewed·2022-05-24
CVE-2021-28903 [HIGH] CWE-674 GHSA-vr34-263x-7q3r: A stack overflow in libyang <= v1
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.
OSV
CVE-2021-28903: A stack overflow in libyang <= v1
osv·2021-05-20·CVSS 7.5
CVE-2021-28903 [HIGH] CVE-2021-28903: A stack overflow in libyang <= v1
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-05-20
Published