CVE-2021-28905
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-28905 affects libyang versions up to and including v1.0.225. The vulnerability was discovered in the lysnodefree() function where it incorrectly assumes that node->module cannot be NULL, but in certain cases, it can be null, which triggers a reachable assertion (NVD, Gentoo Advisory).

Technical details

The vulnerability is classified as a reachable assertion (CWE-617) issue in the lysnodefree() function. The CVSS v3.1 base score is 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating that it is network accessible, requires low attack complexity, and primarily impacts system availability (NVD).

Impact

The vulnerability can trigger a reachable assertion when node->module is NULL, which can lead to a Denial of Service condition. This affects the availability of systems using the vulnerable versions of libyang (NVD, Gentoo Advisory).

Mitigation and workarounds

Users should upgrade to libyang version greater than 1.0.225. For Gentoo Linux users specifically, the recommendation is to upgrade to version 1.0.236 or later using the command 'emerge --ask --oneshot --verbose ">=net-libs/libyang-1.0.236"' (Gentoo Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management