CVE-2021-3864
Apache Core Dump Privilege Escalation
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.
INFO
Published Date :
Aug. 26, 2022, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 6:22 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2021-3864 has a 9 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-3864
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-3864
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
A simple, lightweight vulnerability scanner that reports if CVEs are present in the CISA KEV database.
Makefile Go
None
HTML C# CSS JavaScript Dockerfile
None
None
None
Map Vulnerabilities into Different Layers of the Container Image
Python
Test for cve-2021-3864
Makefile C
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-3864
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-3864
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://access.redhat.com/security/cve/CVE-2021-3864 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2015046 Added Reference https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/ Added Reference https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/ Added Reference https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/ Added Reference https://security-tracker.debian.org/tracker/CVE-2021-3864 Added Reference https://www.openwall.com/lists/oss-security/2021/10/20/2 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 12, 2023
Action Type Old Value New Value Removed Reference https://lore.kernel.org/all/[email protected]/ [Mailing List, Patch, Vendor Advisory] Removed Reference https://lore.kernel.org/all/[email protected]/ [Mailing List, Patch, Vendor Advisory] Removed Reference https://lore.kernel.org/lkml/[email protected]/ [Mailing List, Patch, Vendor Advisory] Added Reference https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/ [No Types Assigned] Added Reference https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/ [No Types Assigned] Added Reference https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/ [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 01, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://access.redhat.com/security/cve/CVE-2021-3864 No Types Assigned https://access.redhat.com/security/cve/CVE-2021-3864 Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2015046 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2015046 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://lore.kernel.org/all/[email protected]/ No Types Assigned https://lore.kernel.org/all/[email protected]/ Mailing List, Patch, Vendor Advisory Changed Reference Type https://lore.kernel.org/all/[email protected]/ No Types Assigned https://lore.kernel.org/all/[email protected]/ Mailing List, Patch, Vendor Advisory Changed Reference Type https://lore.kernel.org/lkml/[email protected]/ No Types Assigned https://lore.kernel.org/lkml/[email protected]/ Mailing List, Patch, Vendor Advisory Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2021-3864 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2021-3864 Third Party Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2021/10/20/2 No Types Assigned https://www.openwall.com/lists/oss-security/2021/10/20/2 Exploit, Mailing List, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-3864
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-3864
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.05635
percentile