Vulnerability · Published May 20, 2021 · Assigned by mitre
CVE-2021-28902
High 7.5
In plain English
A high-severity security flaw in the libyang package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.6%top 24.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | libyang | 3.4.2+dfsg-2 | DEBIAN-CVE-2021-28902 |
| Debian:14 | libyang | 3.4.2+dfsg-2 | DEBIAN-CVE-2021-28902 |
| Ubuntu:22.04:LTS | libyang | no fix listed | UBUNTU-CVE-2021-28902 |
Affected products (as reported)
References
- https://github.com/CESNET/libyang/issues/1454 x_refsource_CONFIRM
- GLSA-202107-54 vendor-advisory, x_refsource_GENTOO