CVE-2021-45941
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-45941 is a heap-based buffer overflow vulnerability discovered in libbpf versions 0.6.0 and 0.6.1. The vulnerability specifically affects the bpf_objectopen function, which is called from bpfobject_open_mem and bpf-object-fuzzer.c, causing an 8-byte buffer overflow. The vulnerability was disclosed on December 31, 2021 (NVD).

Technical details

The vulnerability is classified as an Out-of-bounds Write (CWE-787) with a CVSS v3.1 base score of 6.5 (Medium). The attack vector is network-based, with low attack complexity and requires no privileges. However, user interaction is required for successful exploitation. The vulnerability affects the availability of the system while maintaining unchanged scope, with no impact on confidentiality or integrity (NVD, Snyk).

Impact

The primary impact of this vulnerability is on system availability. When successfully exploited, it can result in a total loss of availability, potentially leading to denial of service conditions. The impact is particularly severe as it can either be sustained during the attack or persist even after the attack has completed (Snyk).

Mitigation and workarounds

The vulnerability has been fixed in later versions of libbpf. Debian has addressed this in bookworm with version 1.1.0-1 and in sid/trixie with version 1.5.0-2. Ubuntu has also released fixes, with version 0.8.0-1ubuntu22.10.1 for Ubuntu 22.10 (kinetic) (Debian, Ubuntu).

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