CVE-2021-3864
kernel: descendant's dumpable setting with certain SUID binaries
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 20, 2021
Updated · March 4, 2026
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.
Statement
This issue is rated as having Moderate impact for Red Hat Enterprise Linux 8 because of the core_pattern default setting (both for ABRT and non-ABRT use cases) that doesn't place core dumps relative to current directory. The other versions of the Red Hat Enterprise Linux out of the box is not vulnerable to the described issue too.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE not specified