cve.bz

CVE-2021-3996

5.5 mediumExploit referenceEPSS 0.6%Fix available

Medium (5.5). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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 a local user on a vulnerable system to unmount other users' filesystems that are either world-writable themselves (like /tmp) or mounted in a world-writable directory. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-03-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-552 Files or Directories Accessible to External Parties
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3996 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3996?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3996?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3996 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
kernel:util-linuxfrom 2.34 before 2.37.3
fedoraproject:fedora35

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11util-linux2.36.1-8+deb11u1DSA-5055-1
Debian12, 13, 14util-linux2.37.3-1DEBIAN-CVE-2021-3996
Ubuntu20.04:LTSutil-linux2.34-0.1ubuntu9.3UBUNTU-CVE-2021-3996 USN-5279-1
Ubuntu22.04:LTSutil-linux2.37.2-4ubuntu2UBUNTU-CVE-2021-3996
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3shadow4.8.1-150300.4.3.8SUSE-SU-2022:0727-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3util-linux2.36.2-150300.4.14.3SUSE-SU-2022:0727-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3util-linux-systemd2.36.2-150300.4.14.2SUSE-SU-2022:0727-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Transactional Server 15 SP3libeconf0.4.4+git20220104.962774f-150300.3.6.2SUSE-SU-2022:0727-1
SUSELinux Enterprise Micro 5.2libeconf0.4.4+git20220104.962774f-150300.3.6.2SUSE-SU-2022:0727-2
SUSELinux Enterprise Micro 5.2shadow4.8.1-150300.4.3.8SUSE-SU-2022:0727-2
SUSELinux Enterprise Micro 5.2util-linux2.36.2-150300.4.14.3SUSE-SU-2022:0727-2
SUSELinux Enterprise Micro 5.2util-linux-systemd2.36.2-150300.4.14.2SUSE-SU-2022:0727-2
openSUSELeap 15.3libeconf0.4.4+git20220104.962774f-150300.3.6.2openSUSE-SU-2022:0727-1
openSUSELeap 15.3python3-libmount, util-linux-systemd2.36.2-150300.4.14.2openSUSE-SU-2022:0727-1
openSUSELeap 15.3shadow4.8.1-150300.4.3.8openSUSE-SU-2022:0727-1
openSUSELeap 15.3util-linux2.36.2-150300.4.14.3openSUSE-SU-2022:0727-1
openSUSETumbleweedutil-linux2.37.3-1.1openSUSE-SU-2024:11784-1
Alpinev3.12, v3.13, v3.14 and 10 moreutil-linux2.37.3-r0ALPINE-CVE-2021-3996

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of util-linux as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they ship an older version which does not allow unprivileged users to unmount FUSE mount points for the current user (e.g. the vulnerable function is_fuse_usermount() does not exist).

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6util-linux-ngNot affected
Red Hat Enterprise Linux 7util-linuxNot affected
Red Hat Enterprise Linux 8util-linuxNot affected
Red Hat Enterprise Linux 9util-linuxNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3996.

Attack patterns (CAPEC)

  • CAPEC-150 Collect Data from Common Resource Locations Severity: Medium
  • CAPEC-639 Probe System Files Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON