{"api_version":"1","generated_at":"2026-04-22T21:38:56+00:00","cve":"CVE-2021-4037","urls":{"html":"https://cve.report/CVE-2021-4037","api":"https://cve.report/api/cve/CVE-2021-4037.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4037","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4037"},"summary":{"title":"CVE-2021-4037","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-08-24 16:15:00","updated_at":"2022-12-08 03:40:00"},"problem_types":["CWE-284"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2027239","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2027239","refsource":"MISC","tags":[],"title":"2027239 – (CVE-2021-4037) CVE-2021-4037 kernel: security regression for CVE-2018-13405","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5257","name":"DSA-5257","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5257-1 linux","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html","name":"[debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3173-1] linux-5.10 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848","name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848","refsource":"MISC","tags":[],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2004810","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2004810","refsource":"MISC","tags":[],"title":"Bug Access Denied","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/security/cve/CVE-2021-4037","name":"https://access.redhat.com/security/cve/CVE-2021-4037","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e","name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e","refsource":"MISC","tags":[],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4037","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4037","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"4037","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4037","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"4037","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-4037","qid":"159825","title":"Oracle Enterprise Linux Security Update for kernel (ELSA-2022-1988)"},{"cve":"CVE-2021-4037","qid":"181145","title":"Debian Security Update for linux (DSA 5257-1)"},{"cve":"CVE-2021-4037","qid":"181190","title":"Debian Security Update for linux-5.10 (DLA 3173-1)"},{"cve":"CVE-2021-4037","qid":"183412","title":"Debian Security Update for linux (CVE-2021-4037)"},{"cve":"CVE-2021-4037","qid":"240275","title":"Red Hat Update for kernel-rt (RHSA-2022:1975)"},{"cve":"CVE-2021-4037","qid":"240298","title":"Red Hat Update for kernel security (RHSA-2022:1988)"},{"cve":"CVE-2021-4037","qid":"240390","title":"Red Hat Update for kernel-rt (RHSA-2022:4835)"},{"cve":"CVE-2021-4037","qid":"240392","title":"Red Hat Update for kernel security (RHSA-2022:4829)"},{"cve":"CVE-2021-4037","qid":"257226","title":"CentOS Security Update for kernel (CESA-2023:1091)"},{"cve":"CVE-2021-4037","qid":"354101","title":"Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-021"},{"cve":"CVE-2021-4037","qid":"377741","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2022:0175)"},{"cve":"CVE-2021-4037","qid":"377766","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2022:0049)"},{"cve":"CVE-2021-4037","qid":"377871","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2023:0001)"},{"cve":"CVE-2021-4037","qid":"377891","title":"Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2023:0002)"},{"cve":"CVE-2021-4037","qid":"6140127","title":"AWS Bottlerocket Security Update for kernel (GHSA-g3v4-8q9p-hjcc)"},{"cve":"CVE-2021-4037","qid":"671367","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1308)"},{"cve":"CVE-2021-4037","qid":"671380","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1292)"},{"cve":"CVE-2021-4037","qid":"671436","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1352)"},{"cve":"CVE-2021-4037","qid":"671498","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1466)"},{"cve":"CVE-2021-4037","qid":"671543","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1475)"},{"cve":"CVE-2021-4037","qid":"671561","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1523)"},{"cve":"CVE-2021-4037","qid":"671703","title":"EulerOS Security Update for kernel (EulerOS-SA-2022-1735)"},{"cve":"CVE-2021-4037","qid":"752594","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3293-1)"},{"cve":"CVE-2021-4037","qid":"752813","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3930-1)"},{"cve":"CVE-2021-4037","qid":"752839","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3929-1)"},{"cve":"CVE-2021-4037","qid":"752880","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4053-1)"},{"cve":"CVE-2021-4037","qid":"752889","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3897-1)"},{"cve":"CVE-2021-4037","qid":"752944","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4273-1)"},{"cve":"CVE-2021-4037","qid":"752959","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4272-1)"},{"cve":"CVE-2021-4037","qid":"753038","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4573-1)"},{"cve":"CVE-2021-4037","qid":"753039","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4574-1)"},{"cve":"CVE-2021-4037","qid":"753051","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4589-1)"},{"cve":"CVE-2021-4037","qid":"753060","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4615-1)"},{"cve":"CVE-2021-4037","qid":"753063","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:4617-1)"},{"cve":"CVE-2021-4037","qid":"753167","title":"SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:3288-1)"},{"cve":"CVE-2021-4037","qid":"903723","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10702)"},{"cve":"CVE-2021-4037","qid":"904621","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10702-1)"},{"cve":"CVE-2021-4037","qid":"906178","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (10702-2)"},{"cve":"CVE-2021-4037","qid":"940517","title":"AlmaLinux Security Update for kernel (ALSA-2022:1988)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-4037","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Kernel","version":{"version_data":[{"version_value":"Fixed in Linux-kernel v5.11-rc1"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-284 - Improper Access Control"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2004810","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2004810"},{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2027239","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2027239"},{"refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2021-4037","url":"https://access.redhat.com/security/cve/CVE-2021-4037"},{"refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e"},{"refsource":"MISC","name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848"},{"refsource":"DEBIAN","name":"DSA-5257","url":"https://www.debian.org/security/2022/dsa-5257"},{"refsource":"MLIST","name":"[debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-08-24 16:15:00","lastModifiedDate":"2022-12-08 03:40:00","problem_types":["CWE-284"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.11","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"4037","Ordinal":"222233","Title":"CVE-2021-4037","CVE":"CVE-2021-4037","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"4037","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}