CVE-2021-4037

A vulnerability was found in the fs/inode.c:inode_init_owner() function logic of the LInux kernel that allows local users to create files for the XFS file-system with an unintended group ownership and with group execution and SGID permission bits set, in a scenario where a directory is SGID and belongs to a certain group and is writable by a user who is not a member of this group. This can lead to excessive permissions granted in case when they should not. This vulnerability is similar to the previous CVE-2018-13405 and adds the missed fix for the XFS.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

01 Nov 2022, 23:15

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html -
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2004810 - Permissions Required, Third Party Advisory (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2004810 - Issue Tracking, Permissions Required, Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2022/dsa-5257 - (DEBIAN) https://www.debian.org/security/2022/dsa-5257 - Third Party Advisory

19 Oct 2022, 08:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2022/dsa-5257 -
References (MISC) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e - (MISC) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e - Mailing List, Patch, Vendor Advisory
References (MISC) https://access.redhat.com/security/cve/CVE-2021-4037 - (MISC) https://access.redhat.com/security/cve/CVE-2021-4037 - Third Party Advisory
References (MISC) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848 - (MISC) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848 - Mailing List, Patch, Vendor Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2027239 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2027239 - Issue Tracking, Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2004810 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2004810 - Permissions Required, Third Party Advisory
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-284
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

24 Aug 2022, 16:24

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-24 16:15

Updated : 2024-02-04 22:51


NVD link : CVE-2021-4037

Mitre link : CVE-2021-4037

CVE.ORG link : CVE-2021-4037


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-284

Improper Access Control

NVD-CWE-Other