CVE-2021-4037
HighA 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-284CVE-2021-4037 is a Improper Access Control vulnerability
What is Improper Access Control?
The product does not restrict or incorrectly restricts access to a resource from an unauthorised actor. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2021-4037 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Issue Tracking Permissions Required Third Party Advisory
-
Issue Tracking Third Party Advisory
-
Mailing List Third Party Advisory
-
Debian Securityhttps://www.debian.org/security/2022/dsa-5257Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848
Frequently asked questions
-
What is CVE-2021-4037?
CVE-2021-4037 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Improper Access Control flaw (CWE-284) . CVE-2021-4037 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-4037?
CVE-2021-4037 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2021-4037?
No patch is currently available for CVE-2021-4037. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-4037 actively exploited?
No — CVE-2021-4037 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Access Control (CWE-284)?
The product does not restrict or incorrectly restricts access to a resource from an unauthorised actor. View CWE-284 on MITRE CWE →