VulnerabilityModified
CVE-2021-28902
In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
HIGH 7.5EPSS 1.55%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.55%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- 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.55% probability · 74th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-252
- Affected
- cesnet/libyang
- Source
- cve@mitre.org
References
- https://github.com/CESNET/libyang/issues/1454Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202107-54Third Party Advisory
- https://github.com/CESNET/libyang/issues/1454Exploit, 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.