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.
References
Link | Resource |
---|---|
https://github.com/CESNET/libyang/issues/1454 | Exploit Issue Tracking Third Party Advisory |
https://security.gentoo.org/glsa/202107-54 | Third Party Advisory |
Configurations
Information
Published : 2021-05-20 12:15
Updated : 2022-04-05 11:07
NVD link : CVE-2021-28902
Mitre link : CVE-2021-28902
JSON object : View
CWE
CWE-252
Unchecked Return Value
Products Affected
cesnet
- libyang