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 CISA-ADP
- Exploit likelihood
- 0.64% (higher than 52% 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 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| util-linux | Fixed in util-linux v2.37.3 | CVE List |
| kernel util-linux | from 2.34 before 2.37.3 | NVD |
| fedoraproject fedora | 35 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
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 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.
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 usuario local en un sistema vulnerable desmontar los sistemas de archivos de otros usuarios que son de escritura mundial (como /tmp) o que están montados en un directorio de escritura mundial. 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-ReleaseNotes | release-notes, vendor-advisory | |
| https://github.com/util-linux/util-linux/commit/166e87368ae88bf31112a30e078cceae637f4cdb | patch, third-party-advisory | |
| https://www.openwall.com/lists/oss-security/2022/01/24/2 | exploit, mailing-list, patch, third-party-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2024628 | issue-tracking, patch, third-party-advisory | |
| https://access.redhat.com/security/cve/CVE-2021-3996 | issue-tracking, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2022/11/30/2 | mailing-list, third-party-advisory | |
| http://seclists.org/fulldisclosure/2022/Dec/4 | mailing-list, third-party-advisory | |
| http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html | third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20221209-0002/ | broken-link, third-party-advisory | |
| https://security.gentoo.org/glsa/202401-08 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3996 changed 2024-10-15 | CVE Terms of Use |
| NVD | CVE-2021-3996 changed 2026-06-17 | Public domain |