CVE-2021-3995
NixOS vulnerability analysis and mitigation

Overview

A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. The vulnerability, identified as CVE-2021-3995, affects util-linux versions from 2.34 up to (excluding) 2.37.3. The issue was discovered and reported by the Qualys Security Advisory team (Openwall List, Release Notes).

Technical details

The vulnerability exists in the libmount library's function that handles FUSE filesystem unmounting. The flaw stems from an improper UID check that allows an unprivileged local attacker to unmount FUSE filesystems that belong to certain other users who have a UID that is a prefix of the attacker's UID in its string form. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NetApp Advisory).

Impact

The vulnerability allows an unprivileged local attacker to unmount FUSE filesystems belonging to other users with similar UIDs, potentially causing a denial of service to applications that use the affected filesystems. This can disrupt system operations and affect service availability for legitimate users (Release Notes).

Mitigation and workarounds

The vulnerability was fixed in util-linux version 2.37.3. The fix involves correcting the UID check in the libmount library to properly validate user permissions when unmounting FUSE filesystems. Users are advised to upgrade to util-linux version 2.37.3 or later to address this security issue (Release Notes, 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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 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