CVE-2021-3995
JSON

5.5medium

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.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.64% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
util-linuxFixed in util-linux v2.37.3CVE List
kernel util-linuxfrom 2.34 before 2.37.3NVD
fedoraproject fedora35NVD

Classification

What each source says

CVE List

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.

NVD (es)

Se ha encontrado un error lógico en la biblioteca libmount de util-linux en la función que permite a un usuario no privilegiado desmontar un sistema de archivos FUSE. Este fallo permite a un atacante local no privilegiado desmontar sistemas de archivos FUSE que pertenecen a otros usuarios determinados que presentan un UID que es un prefijo del UID del atacante en su forma de cadena. Un atacante puede usar este fallo para causar una denegación de servicio a las aplicaciones que usan los sistemas de archivos afectados.

References

https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotesrelease-notes, vendor-advisory
https://www.openwall.com/lists/oss-security/2022/01/24/2exploit, mailing-list, patch, third-party-advisory
https://github.com/util-linux/util-linux/commit/57202f5713afa2af20ffbb6ab5331481d0396f8dpatch, third-party-advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2024631https://access.redhat.com/security/cve/CVE-2021-3995broken-link, issue-tracking
http://www.openwall.com/lists/oss-security/2022/11/30/2mailing-list, third-party-advisory
http://seclists.org/fulldisclosure/2022/Dec/4mailing-list, third-party-advisory
http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.htmlthird-party-advisory, vdb-entry
https://security.netapp.com/advisory/ntap-20221209-0002/third-party-advisory
https://security.gentoo.org/glsa/202401-08vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-3995 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3995 changed 2026-06-17Public domain