First published: Thu May 20 2021(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Cesnet Libyang | <=1.0.225 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-28904 is a vulnerability in function ext_get_plugin() in libyang <= v1.0.225 that can lead to a crash due to a lack of NULL value check for the revision.
CVE-2021-28904 has a severity value of 7.5, categorized as high.
Versions up to and including 1.0.225 of Cesnet Libyang are affected by CVE-2021-28904.
References for CVE-2021-28904 can be found at the CESNET Libyang GitHub page and the Gentoo Security Advisory.