{"id":"CVE-2021-3864","state":"PUBLISHED","title":"A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants. The prerequisite is a SUID binary that sets real UID equal to","description":"A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants. The prerequisite is a SUID binary that sets real UID equal to effective UID, and real GID equal to effective GID. The descendant will then have a dumpable value set to 1. As a result, if the descendant process crashes and core_pattern is set to a relative value, its core dump is stored in the current directory with uid:gid permissions. An unprivileged local user with eligible root SUID binary could use this flaw to place core dumps into root-owned directories, potentially resulting in escalation of privileges.","publishedAt":"2022-08-26T15:25:39.000Z","updatedAt":"2024-08-03T17:09:09.586Z","severity":null,"assigner":"redhat","products":["n/a kernel"],"affected":[{"vendor":"n/a","product":"kernel","versions":[{"version":"Not Known","status":"affected"}]}],"references":["https://www.openwall.com/lists/oss-security/2021/10/20/2","https://bugzilla.redhat.com/show_bug.cgi?id=2015046","https://access.redhat.com/security/cve/CVE-2021-3864","https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/","https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/","https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/","https://security-tracker.debian.org/tracker/CVE-2021-3864"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3864.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3864","state":"PUBLISHED","datePublished":"2022-08-26T15:25:39.000Z","dateUpdated":"2024-08-03T17:09:09.586Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-10-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants. The prerequisite is a SUID binary that sets real UID equal to effective UID, and real GID equal to effective GID. The descendant will then have a dumpable value set to 1. As a result, if the descendant process crashes and core_pattern is set to a relative value, its core dump is stored in the current directory with uid:gid permissions. An unprivileged local user with eligible root SUID binary could use this flaw to place core dumps into root-owned directories, potentially resulting in escalation of privileges."}],"affected":[{"vendor":"n/a","product":"kernel","versions":[{"version":"Not Known","status":"affected"}]}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2021/10/20/2","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015046","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3864","tags":["x_refsource_MISC"]},{"url":"https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/","tags":["x_refsource_MISC"]},{"url":"https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/","tags":["x_refsource_MISC"]},{"url":"https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/","tags":["x_refsource_MISC"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3864","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","description":"CWE-284 - Improper Access Control","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-26T15:25:39.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.openwall.com/lists/oss-security/2021/10/20/2","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015046","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3864","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3864","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:09:09.586Z"}}]}}}