CVE-2021-4037CWE-284broken-access-control

CVE-2021-4037

Medium · published August 24, 2022

CVSS v3.1
4.4
EPSS
0%
Percentile
25.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00337 · 25.9th percentile
Weakness
CWE-284 · Improper Access Control
Published
2022-08-24T20:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel< 5.115.11
debian/debian_linuxall versions—
debian/debian_linuxall versions—
References (17)
https://access.redhat.com/errata/RHSA-2022:1975 · [email protected]https://access.redhat.com/errata/RHSA-2022:1988 · [email protected]https://access.redhat.com/errata/RHSA-2022:4829 · [email protected]https://access.redhat.com/errata/RHSA-2022:4835 · [email protected]https://access.redhat.com/security/cve/CVE-2021-4037 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2027239 · [email protected]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e · [email protected]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848 · [email protected]https://access.redhat.com/security/cve/CVE-2021-4037 · af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2004810 · af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2027239 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5257 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-794697.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-806742.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 24 AUG 00:00Z
    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…
    cvelistv5