Vulnerability in Linux Kernel
CVE-2021-3864
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.
EPSS: 0.007 (50.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux Linux_kernel
- Debian Debian_linux — versions 10.0, 11.0
- Redhat Enterprise_linux — versions 6.0, 7.0, 9.0
- N/a Kernel — versions Not Known
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Exploit, Mailing List, Third Party Advisory, x_refsource_MISC)
- secalert@redhat.com (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- secalert@redhat.com (Third Party Advisory, x_refsource_MISC)
- secalert@redhat.com (x_refsource_MISC)
- secalert@redhat.com (x_refsource_MISC)
- secalert@redhat.com (x_refsource_MISC)
- secalert@redhat.com (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-3864?
- CVE-2021-3864 is a high-severity vulnerability in Linux Kernel, classified under Improper Access Control. CVSS score: 7.0/10. Published 2022-08-26.
- How severe is CVE-2021-3864?
- High severity. CVSS v3 base score is 7.0 out of 10.
- Is CVE-2021-3864 known to be exploited?
- 16 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.