Vulnerability · Published May 20, 2021 · Assigned by mitre

CVE-2021-28906

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 76% 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.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In function read_yin_leaf() 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

EcosystemPackageFixed inAdvisory
Debian:13libyang3.4.2+dfsg-2DEBIAN-CVE-2021-28906
Debian:14libyang3.4.2+dfsg-2DEBIAN-CVE-2021-28906
Ubuntu:22.04:LTSlibyangno fix listedUBUNTU-CVE-2021-28906

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References