CVE-2021-3995
CVE-2021-3995 is a medium-severity vulnerability in Kernel Util-linux with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-552.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-552
- Affected product: Kernel Util-linux
- Published:
- Last modified:
Description
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. This flaw 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 UID of the attacker in its string form. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.
Frequently asked questions
- What is CVE-2021-3995?
- 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. This flaw 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 UID of the attacker in its string form. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.
- How severe is CVE-2021-3995?
- CVE-2021-3995 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-3995 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-3995?
- CVE-2021-3995 primarily affects Kernel Util-linux. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-3995?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-3995 published?
- CVE-2021-3995 was published on 2022-08-23 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html
- http://seclists.org/fulldisclosure/2022/Dec/4
- http://www.openwall.com/lists/oss-security/2022/11/30/2
- https://bugzilla.redhat.com/show_bug.cgi?id=2024631https://access.redhat.com/security/cve/CVE-2021-3995
- https://github.com/util-linux/util-linux/commit/57202f5713afa2af20ffbb6ab5331481d0396f8d
- https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes
- https://security.gentoo.org/glsa/202401-08
- https://security.netapp.com/advisory/ntap-20221209-0002/
- https://www.openwall.com/lists/oss-security/2022/01/24/2
Affected products (2)
- cpe:2.3:a:kernel:util-linux:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
More vulnerabilities in Kernel Util-linux
- CVE-2015-5224 — Critical (CVSS 9.8): The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name…
- CVE-2018-7738 — High (CVSS 7.8): In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands…
- CVE-2014-9114 — High (CVSS 7.8): Blkid in util-linux before 2.26rc-1 allows local users to execute arbitrary code.
- CVE-2016-2779 — High (CVSS 7.8): runuser in util-linux allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes…
- CVE-2007-5191 — High (CVSS 7.2): mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not…
- CVE-2026-13595 — Medium (CVSS 6.8): A flaw was found in the libblkid library of util-linux. During nested partition probing, the BSD, Minix, Solaris x86,…
All CVEs affecting Kernel Util-linux →
Other CWE-552 (Files or Directories Accessible to External Parties) vulnerabilities
- CVE-2025-41240 — Critical (CVSS 10.0): Three Bitnami Helm charts mount Kubernetes Secrets under a predictable path (/opt/bitnami/*/secrets) that is located…
- CVE-2024-56731 — Critical (CVSS 10.0): Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the…
- CVE-2024-6209 — Critical (CVSS 10.0): Unauthorized file access in WEB Server in ABB ASPECT - Enterprise v3.08.01; NEXUS Series v3.08.01 ; MATRIX Series…
- CVE-2025-14771 — Critical (CVSS 9.9): Files or directories accessible to external parties vulnerability in ABB T-MAC Plus. This issue affects T-MAC Plus:…
- CVE-2024-39931 — Critical (CVSS 9.9): Gogs through 0.13.0 allows deletion of internal files.
- CVE-2021-43821 — Critical (CVSS 9.9): Opencast is an Open Source Lecture Capture & Video Management for Education. Opencast before version 9.10 or 10.6…
Browse all CWE-552 (Files or Directories Accessible to External Parties) vulnerabilities →