{"id":"CVE-2021-3996","state":"PUBLISHED","title":"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 vuln","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.","publishedAt":"2022-08-23T00:00:00.000Z","updatedAt":"2024-10-15T15:26:56.079Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"redhat","products":["n/a util-linux"],"affected":[{"vendor":"n/a","product":"util-linux","versions":[{"version":"Fixed in util-linux v2.37.3","status":"affected"}]}],"references":["https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes","https://github.com/util-linux/util-linux/commit/166e87368ae88bf31112a30e078cceae637f4cdb","https://www.openwall.com/lists/oss-security/2022/01/24/2","https://bugzilla.redhat.com/show_bug.cgi?id=2024628","https://access.redhat.com/security/cve/CVE-2021-3996","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"],"weaknesses":["CWE-552"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3996.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3996","state":"PUBLISHED","datePublished":"2022-08-23T00:00:00.000Z","dateUpdated":"2024-10-15T15:26:56.079Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-11-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"util-linux","versions":[{"version":"Fixed in util-linux v2.37.3","status":"affected"}]}],"references":[{"url":"https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes"},{"url":"https://github.com/util-linux/util-linux/commit/166e87368ae88bf31112a30e078cceae637f4cdb"},{"url":"https://www.openwall.com/lists/oss-security/2022/01/24/2"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024628"},{"url":"https://access.redhat.com/security/cve/CVE-2021-3996"},{"url":"http://www.openwall.com/lists/oss-security/2022/11/30/2","name":"[oss-security] 20221130 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328)","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/4","name":"20221208 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328)","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html"},{"url":"https://security.netapp.com/advisory/ntap-20221209-0002/"},{"url":"https://security.gentoo.org/glsa/202401-08","name":"GLSA-202401-08","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-552","type":"CWE","lang":"en","description":"CWE-552 - Files or Directories Accessible to External Parties"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2024-01-07T09:06:22.825Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes","tags":["x_transferred"]},{"url":"https://github.com/util-linux/util-linux/commit/166e87368ae88bf31112a30e078cceae637f4cdb","tags":["x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2022/01/24/2","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024628","tags":["x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3996","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/30/2","name":"[oss-security] 20221130 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328)","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Dec/4","name":"20221208 Race condition in snap-confine's must_mkdir_and_open_with_perms() (CVE-2022-3328)","tags":["mailing-list","x_transferred"]},{"url":"http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221209-0002/","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202401-08","name":"GLSA-202401-08","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:16:02.913Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-03-04T21:16:28.797475Z","id":"CVE-2021-3996","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-15T15:26:56.079Z"}}]}}}