CVE-2021-3864

Public Exploit

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.

Category

7.0
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.41%
Third-Party Advisory redhat.com Third-Party Advisory redhat.com Third-Party Advisory debian.org Third-Party Advisory openwall.com
Affected: n/a kernel
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-3864?
CVE-2021-3864 has been scored as a high severity vulnerability.
How to fix CVE-2021-3864?
To fix CVE-2021-3864, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-3864 being actively exploited in the wild?
It is possible that CVE-2021-3864 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-3864?
CVE-2021-3864 affects n/a kernel.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.