CVE-2021-28902
Gentoo Linux Security Advisory 202107-54
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
En la función read_yin_container() en libyang versiones anteriores a v1.0.225 incluyéndola, no comprueba si el valor de retval-)ext[r] es NULL. En algunos casos, puede ser NULL, lo que conlleva a una operación de retval-)ext [r]-)flags que resulta en 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-07-13 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-252: Unchecked Return Value
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/CESNET/libyang/issues/1454 | 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
|