CVE-2021-4037

High

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.

Package Linux Kernel
Published 2022-08-24
Last modified 2024-11-21
CVSS version 3.1
Patch available
Awaiting data

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-284

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

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 →