CVE-2021-28905: cesnet libyang Reachable Assertion
CVSS: 7.5v3.1HighModified
AliasesSUSE-SU-2022:2922-1UBUNTU-CVE-2021-28905DEBIAN-CVE-2021-28905
Published 20-05-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-28905 is a high (CVSS 7.5) Reachable Assertion vulnerability in cesnet libyang. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.5% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.42%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 20-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617).
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.42%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.42% on 20-09-2026
20-09-202620-10-2026
EPSS score1.42%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundLibyang
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Opensuse2 products
- libyang&distro=openSUSE Leap 15.3< 1.0.184-150300.3.3.1
- libyang&distro=openSUSE Leap 15.4< 1.0.184-150300.3.3.1
Suse2 products
- libyang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3< 1.0.184-150300.3.3.1
- libyang&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4< 1.0.184-150300.3.3.1
Cesnet1 product
- libyang≤ 1.0.225
Debian1 product
- libyang< 3.4.2+dfsg-2
Ubuntu1 product
- libyangAll versions (No fix recorded)
5 vendors · 7 products
References
8 links- github.com/CESNET/libyang/issues/1452X Refsource CONFIRMREPORTExploitIssue TrackingPatchThird Party Advisory