Vulnerability Details : CVE-2021-28902
Potential exploit
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.
Products affected by CVE-2021-28902
- cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28902
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 42 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28902
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-28902
-
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-28902
-
https://security.gentoo.org/glsa/202107-54
libyang: Multiple vulnerabilities (GLSA 202107-54) — Gentoo securityThird Party Advisory
-
https://github.com/CESNET/libyang/issues/1454
In function "read_yin_container", the value "retval->ext[r]" can be NULL. The operation "retval->ext[r]->flags" result in a crash · Issue #1454 · CESNET/libyang · GitHubExploit;Issue Tracking;Third Party Advisory
Jump to