CVE-2021-28905: cesnet libyang Reachable Assertion
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 73.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?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
5 scores · 4 sources · 2 versions- 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
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.42%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.42% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLibyang
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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
Alpine1 product
- libyang< 1.0.184-r1 | < 1.0.215-r1
Cesnet1 product
- libyang≤ 1.0.225
Debian1 product
- libyang< 3.4.2+dfsg-2
Ubuntu1 product
- libyangAll versions (No fix recorded)
6 vendors · 8 products
References
9 links- github.com/CESNET/libyang/issues/1452X Refsource CONFIRMREPORTExploitIssue TrackingPatchThird Party Advisory