CVE-2021-3864

Summary

CVECVE-2021-3864
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-26 16:15:00 UTC
Updated2023-02-12 23:42:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-284

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Linux Linux Kernel - All All All
Operating System Redhat Enterprise Linux 6.0 All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

References

ReferenceSourceLinkTags
2015046 – (CVE-2021-3864) CVE-2021-3864 kernel: descendant's dumpable setting with certain SUID binaries MISC bugzilla.redhat.com
Re: [PATCH] exec: Make suid_dumpable apply to SUID/SGID binaries irrespective of invoking users - Willy Tarreau MISC lore.kernel.org
oss-security - Core-dump handing issues with suid binaries MISC www.openwall.com
Re: [PATCH] exec: Make suid_dumpable apply to SUID/SGID binaries irrespective of invoking users - Willy Tarreau MISC lore.kernel.org
[PATCH RFC v2 0/4] coredump: mitigate privilege escalation of process coredump - Wander Lairson Costa MISC lore.kernel.org
[PATCH RFC v2 0/4] coredump: mitigate privilege escalation of process coredump - Wander Lairson Costa MISC lore.kernel.org
Red Hat Customer Portal - Access to 24x7 support and knowledge MISC access.redhat.com
CVE-2021-3864 MISC security-tracker.debian.org
[PATCH] exec: Make suid_dumpable apply to SUID/SGID binaries irrespective of invoking users - Waiman Long MISC lore.kernel.org
[PATCH] exec: Make suid_dumpable apply to SUID/SGID binaries irrespective of invoking users - Waiman Long MISC lore.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report