VulnerabilityModified
CVE-2021-28904
If revision is NULL, the operation of strcmp(revision, ext_plugins[u].revision) will lead to a crash.
HIGH 7.5EPSS 1.41%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.41%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.41% probability · 71th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-252
- Affected
- cesnet/libyang
- Source
- cve@mitre.org
References
- https://github.com/CESNET/libyang/issues/1451Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202107-54Third Party Advisory
- https://github.com/CESNET/libyang/issues/1451Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202107-54Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.