PT-2021-7753 · Linux+8 · Linux Kernel+8

Christian Brauner

·

Published

2021-01-22

·

Updated

2023-05-17

·

CVE-2021-4037

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A vulnerability was found in the fs/inode.c:inode init owner() function logic of the Linux kernel. This issue allows local users to create files for the XFS file-system with unintended group ownership and with group execution and SGID permission bits set. The vulnerability can be exploited in a scenario where a directory is SGID, belongs to a certain group, and is writable by a user who is not a member of this group, leading to excessive permissions being granted. The vulnerability is related to the incorrect setting of group access attributes when creating files in the XFS file system, which can allow an attacker to elevate their privileges, gain access to protected information, and cause a denial of service.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Improper Access Control

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:1988
ALT-PU-2021-1447
ALT-PU-2021-1525
ALT-PU-2021-1869
ALT-PU-2021-1888
ALT-PU-2021-1896
ALT-PU-2022-1240
ALT-PU-2022-1419
ALT-PU-2022-1421
ALT-PU-2023-1814
BDU:2023-02533
CESA-2022_1975
CESA-2022_1988
CVE-2021-4037
DLA-3173-1
DSA-5257-1
DSA-5257-2
OESA-2021-1475
OPENSUSE-SU-2022_3288-1
OPENSUSE-SU-2022_3293-1
OPENSUSE-SU-2022_3897-1
OPENSUSE-SU-2022_4053-1
OPENSUSE-SU-2022_4574-1
OPENSUSE-SU-2022_4617-1
RHSA-2022:1975
RHSA-2022:1988
RHSA-2022:4829
RHSA-2022:4835
RHSA-2022_1975
RHSA-2022_1988
RLSA-2022:1975
RLSA-2022:1988
SUSE-SU-2022:3288-1
SUSE-SU-2022:3293-1
SUSE-SU-2022:3897-1
SUSE-SU-2022:3929-1
SUSE-SU-2022:3930-1
SUSE-SU-2022:4053-1
SUSE-SU-2022:4272-1
SUSE-SU-2022:4273-1
SUSE-SU-2022:4561-1
SUSE-SU-2022:4573-1
SUSE-SU-2022:4574-1
SUSE-SU-2022:4589-1
SUSE-SU-2022:4611-1
SUSE-SU-2022:4614-1
SUSE-SU-2022:4615-1
SUSE-SU-2022:4617-1
USN-5650-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linux Kernel
Red Hat
Rocky Linux
Suse
Ubuntu