{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3864","id":"CVE-2021-3864","title":"the way the dumpable flag setting: escalation of privileges","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 s","descriptionLong":"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.","published":"2022-08-26T15:25:39.000Z","updated":"2026-06-17T04:05:55.150Z","reserved":"2021-10-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["kernel"],"affectedProducts":[{"vendor":"n/a","product":"kernel","defaultStatus":null,"versions":[{"status":"affected","version":"Not Known"}],"platforms":[]}],"packages":[],"cwes":["CWE-284"],"aliases":[],"references":[{"url":"https://www.openwall.com/lists/oss-security/2021/10/20/2","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2015046","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3864","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3864","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00777,"epssPercentile":0.56623,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3864","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3864","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3864","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3864","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}