7.0
HIGH CVSS 3.1
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.

Remotely Exploit :

No
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.

ID Vendor Product Action
1 Linux linux_kernel
1 Redhat enterprise_linux
1 Debian debian_linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
This information is provided by the 3rd party feeds.
  • There is no known solution at this time.
Public PoC/Exploit Available at Github

CVE-2021-3864 has a 10 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

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:

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).

None

Updated: 5 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 12, 2025, 3:57 p.m. This repo has been linked 126 different CVEs too.

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 3 months ago
12 stars 3 fork 3 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 931 different CVEs too.

None

Updated: 2 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 935 different CVEs too.

A simple, lightweight vulnerability scanner that reports if CVEs are present in the CISA KEV database.

Makefile Go

Updated: 1 year, 9 months ago
1 stars 0 fork 0 watcher
Born at : Nov. 12, 2023, 8:29 a.m. This repo has been linked 2 different CVEs too.

None

HTML C# CSS JavaScript Dockerfile

Updated: 1 year ago
1 stars 2 fork 2 watcher
Born at : Aug. 30, 2023, 8:51 p.m. This repo has been linked 62 different CVEs too.

None

Updated: 2 years, 5 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 928 different CVEs too.

None

Updated: 1 year, 6 months ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

None

Updated: 3 months, 2 weeks ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 935 different CVEs too.

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 2 years, 8 months ago
1 stars 1 fork 1 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1277 different CVEs too.

Test for cve-2021-3864

Makefile C

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : March 31, 2022, 8:03 p.m. This repo has been linked 1 different CVEs too.

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:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.31 }} -0.01%

score

0.53745

percentile