CVE-2021-28903
Gentoo Linux Security Advisory 202107-54
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Un desbordamiento de pila en libyang versiones anteriores a v1.0.225 incluyéndola, puede causar una denegación de servicio por medio de la función lyxml_parse_mem(). La función lyxml_parse_elem() será llamada de forma recursiva, lo que consumirá espacio en la pila y conllevará a un bloqueo
An update that fixes four vulnerabilities is now available. This update for libyang fixes the following issues. Fixed missing check in read_yin_leaf that can lead to DoS Fixed missing check in ext_get_plugin that lead to DoS. Fixed stack overflow in lyxml_parse_mem. Fixed missing check in read_yin_container that can lead to DoS.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-03-19 CVE Reserved
- 2021-05-20 CVE Published
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- 2025-06-21 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-674: Uncontrolled Recursion
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/CESNET/libyang/issues/1453 | 2024-08-03 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://security.gentoo.org/glsa/202107-54 | 2022-04-05 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Cesnet Search vendor "Cesnet" | Libyang Search vendor "Cesnet" for product "Libyang" | <= 1.0.225 Search vendor "Cesnet" for product "Libyang" and version " <= 1.0.225" | - |
Affected
|