Null Pointer Dereference in read_yin_container() function in libyang <= v1.0.225

Null Pointer Dereference in read_yin_container() function in libyang <= v1.0.225

CVE-2021-28902 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.