{"id":"CVE-2021-3864","published":"2022-08-26T15:25:39Z","modified":"2024-08-03T17:09:09Z","title":"A flaw was found in the way the dumpable flag setting was handled when certain SUID binaries executed its descendants","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00777,"percentile":0.56754,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"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"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.35},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-03-31","earliestUrl":"https://github.com/walac/cve-2021-3864","repos":[{"name":"walac/cve-2021-3864","url":"https://github.com/walac/cve-2021-3864","stars":0,"created":"2022-03-31"}]},"first":{"date":"2022-03-31","source":"PoC-in-GitHub","url":"https://github.com/walac/cve-2021-3864"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"kernel","versions":["Not Known"]}],"euvd":{"id":"EUVD-2021-27099","exploited":false,"provenance":"source"}}