Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2021-3864

Summary
Assigner-redhat
Assigner Org ID-53f830b8-0a3f-465b-8143-3b8a9948e749
Published At-26 Aug, 2022 | 15:25
Updated At-03 Aug, 2024 | 17:09
Rejected At-
Credits

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:redhat
Assigner Org ID:53f830b8-0a3f-465b-8143-3b8a9948e749
Published At:26 Aug, 2022 | 15:25
Updated At:03 Aug, 2024 | 17:09
Rejected At:
▼CVE Numbering Authority (CNA)

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.

Affected Products
Vendor
n/a
Product
kernel
Versions
Affected
  • Not Known
Problem Types
TypeCWE IDDescription
CWECWE-284CWE-284 - Improper Access Control
Type: CWE
CWE ID: CWE-284
Description: CWE-284 - Improper Access Control
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://www.openwall.com/lists/oss-security/2021/10/20/2
x_refsource_MISC
https://bugzilla.redhat.com/show_bug.cgi?id=2015046
x_refsource_MISC
https://access.redhat.com/security/cve/CVE-2021-3864
x_refsource_MISC
https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/
x_refsource_MISC
https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/
x_refsource_MISC
https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/
x_refsource_MISC
https://security-tracker.debian.org/tracker/CVE-2021-3864
x_refsource_MISC
Hyperlink: https://www.openwall.com/lists/oss-security/2021/10/20/2
Resource:
x_refsource_MISC
Hyperlink: https://bugzilla.redhat.com/show_bug.cgi?id=2015046
Resource:
x_refsource_MISC
Hyperlink: https://access.redhat.com/security/cve/CVE-2021-3864
Resource:
x_refsource_MISC
Hyperlink: https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/
Resource:
x_refsource_MISC
Hyperlink: https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/
Resource:
x_refsource_MISC
Hyperlink: https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/
Resource:
x_refsource_MISC
Hyperlink: https://security-tracker.debian.org/tracker/CVE-2021-3864
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://www.openwall.com/lists/oss-security/2021/10/20/2
x_refsource_MISC
x_transferred
https://bugzilla.redhat.com/show_bug.cgi?id=2015046
x_refsource_MISC
x_transferred
https://access.redhat.com/security/cve/CVE-2021-3864
x_refsource_MISC
x_transferred
https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/
x_refsource_MISC
x_transferred
https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/
x_refsource_MISC
x_transferred
https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/
x_refsource_MISC
x_transferred
https://security-tracker.debian.org/tracker/CVE-2021-3864
x_refsource_MISC
x_transferred
Hyperlink: https://www.openwall.com/lists/oss-security/2021/10/20/2
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://bugzilla.redhat.com/show_bug.cgi?id=2015046
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://access.redhat.com/security/cve/CVE-2021-3864
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://security-tracker.debian.org/tracker/CVE-2021-3864
Resource:
x_refsource_MISC
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:secalert@redhat.com
Published At:26 Aug, 2022 | 16:15
Updated At:12 Feb, 2023 | 23:42

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.17.0HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Type: Primary
Version: 3.1
Base score: 7.0
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CPE Matches

Linux Kernel Organization, Inc
linux
>>linux_kernel>>-
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>10.0
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>11.0
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Red Hat, Inc.
redhat
>>enterprise_linux>>6.0
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
Red Hat, Inc.
redhat
>>enterprise_linux>>7.0
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
Red Hat, Inc.
redhat
>>enterprise_linux>>9.0
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-284Primarysecalert@redhat.com
NVD-CWE-noinfoSecondarynvd@nist.gov
CWE ID: CWE-284
Type: Primary
Source: secalert@redhat.com
CWE ID: NVD-CWE-noinfo
Type: Secondary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://access.redhat.com/security/cve/CVE-2021-3864secalert@redhat.com
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2015046secalert@redhat.com
Issue Tracking
Patch
Third Party Advisory
https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/secalert@redhat.com
N/A
https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/secalert@redhat.com
N/A
https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/secalert@redhat.com
N/A
https://security-tracker.debian.org/tracker/CVE-2021-3864secalert@redhat.com
Third Party Advisory
https://www.openwall.com/lists/oss-security/2021/10/20/2secalert@redhat.com
Exploit
Mailing List
Third Party Advisory
Hyperlink: https://access.redhat.com/security/cve/CVE-2021-3864
Source: secalert@redhat.com
Resource:
Third Party Advisory
Hyperlink: https://bugzilla.redhat.com/show_bug.cgi?id=2015046
Source: secalert@redhat.com
Resource:
Issue Tracking
Patch
Third Party Advisory
Hyperlink: https://lore.kernel.org/all/20211221021744.864115-1-longman%40redhat.com/
Source: secalert@redhat.com
Resource: N/A
Hyperlink: https://lore.kernel.org/all/20211226150310.GA992%401wt.eu/
Source: secalert@redhat.com
Resource: N/A
Hyperlink: https://lore.kernel.org/lkml/20211228170910.623156-1-wander%40redhat.com/
Source: secalert@redhat.com
Resource: N/A
Hyperlink: https://security-tracker.debian.org/tracker/CVE-2021-3864
Source: secalert@redhat.com
Resource:
Third Party Advisory
Hyperlink: https://www.openwall.com/lists/oss-security/2021/10/20/2
Source: secalert@redhat.com
Resource:
Exploit
Mailing List
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found