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

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

CVE-2021-28904 · HIGH Severity

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

In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. If revision is NULL, the operation of strcmp(revision, ext_plugins[u].revision) will lead to a crash.

Learn more about our Web Application Penetration Testing UK.