7.5

CVE-2021-28902: cesnet libyang Unchecked Return Value

Modified
AliasesUBUNTU-CVE-2021-28902DEBIAN-CVE-2021-28902ALPINE-CVE-2021-28902
Published 20-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-28902 is a high (CVSS 7.5) Unchecked Return Value vulnerability in cesnet libyang. EPSS estimates a 1.55% chance of exploitation in the next 30 days, higher than 76% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.55%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.55%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.55% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Libyang

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • libyang< 1.0.184-r1 | < 1.0.215-r1
Cesnet1 product
Debian1 product
  • libyang< 3.4.2+dfsg-2
Ubuntu1 product
  • libyangAll versions (No fix recorded)

4 vendors · 4 products

References

6 links