CVE-2018-13405: The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group…
Noroxi assessment
Priority: Monitor (action score 31/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 1% (FIRST EPSS); higher than 64.4% of all records.
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: bpftool (AlmaLinux:8) 4.18.0-372.9.1.el8; kernel (AlmaLinux:8) 4.18.0-372.9.1.el8; kernel-abi-stablelists (AlmaLinux:8) 4.18.0-372.9.1.el8.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to bpftool (AlmaLinux:8) 4.18.0-372.9.1.el8; kernel (AlmaLinux:8) 4.18.0-372.9.1.el8; kernel-abi-stablelists (AlmaLinux:8) 4.18.0-372.9.1.el8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.
- BDU:2022-05860
- ALSA-2022:0886
- ALSA-2022:1988
- DLA-1466-1
- DLA-1529-1
- DSA-4266-1
- openSUSE-SU-2021:1477-1
- openSUSE-SU-2021:3876-1
- RHSA-2019:0717
- RHSA-2019:2476
- RHSA-2019:2566
- RHSA-2019:2696
- RHSA-2019:2730
- RHSA-2019:4159
- RHSA-2019:4164
- SUSE-SU-2018:2051-1
- SUSE-SU-2018:2092-1
- SUSE-SU-2018:2150-1
- SUSE-SU-2018:2222-1
- SUSE-SU-2018:2344-1
- Published
- Jul 6, 2018
- Updated
- Jun 16, 2026
- EPSS
- 1.0% · 64th percentile
- CWE
- CWE-269
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | mrg realtime | cpe:2.3:a:redhat:mrg_realtime |
| redhat | virtualization | cpe:2.3:a:redhat:virtualization |
| redhat | enterprise linux aus | cpe:2.3:o:redhat:enterprise_linux_aus |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for real time | cpe:2.3:o:redhat:enterprise_linux_for_real_time |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
and 15 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- debian debian linux8.0
- debian debian linux9.0
- f5 big-ip access policy manager14.0.0 and later · before 14.1.3.1
- f5 big-ip access policy manager15.0.0 and later · before 15.0.1.4
- f5 big-ip access policy manager13.0.0 and later · before 13.1.3.5
+12 more rows
- f5 big-ip access policy manager15.1.0
- f5 big-ip access policy manager16.0.0
- f5 big-ip advanced firewall manager13.0.0 and later · before 13.1.3.5
- f5 big-ip advanced firewall manager15.0.0 and later · before 15.0.1.4
- f5 big-ip advanced firewall manager14.0.0 and later · before 14.1.3.1
- f5 big-ip advanced firewall manager15.1.0
- f5 big-ip advanced firewall manager16.0.0
- f5 big-ip analytics14.0.0 and later · before 14.1.3.1
- f5 big-ip analytics13.0.0 and later · before 13.1.3.5
- f5 big-ip analytics15.0.0 and later · before 15.0.1.4
- f5 big-ip analytics15.1.0
- f5 big-ip analytics16.0.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | bpftool | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-abi-stablelists | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-core | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-cross-headers | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-debug | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-debug-core | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-debug-devel | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-debug-modules | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-debug-modules-extra | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-devel | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-doc | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-headers | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-modules | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-modules-extra | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-tools | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-tools-libs | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | kernel-tools-libs-devel | before 4.18.0-372.9.1.el8 | 4.18.0-372.9.1.el8 |
| AlmaLinux:8 | libiscsi | before 1.18.0-8.module_el8.6.0+2880+7d9e3703 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | libiscsi-devel | before 1.18.0-8.module_el8.6.0+2880+7d9e3703 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | libiscsi-utils | before 1.18.0-8.module_el8.6.0+2880+7d9e3703 | 1.18.0-8.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | libvirt-dbus | before 1.3.0-2.module_el8.6.0+2880+7d9e3703 | 1.3.0-2.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | netcf | before 0.2.8-12.module_el8.6.0+2880+7d9e3703 | 0.2.8-12.module_el8.6.0+2880+7d9e3703 |
| AlmaLinux:8 | netcf-devel | before 0.2.8-12.module_el8.6.0+2880+7d9e3703 | 0.2.8-12.module_el8.6.0+2880+7d9e3703 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2018-13099Jul 3, 2018 · An issue was discovered in fs/f2fs/inline.c in the Linux kernel through 4.4.23Monitor
- ← EarlierCVE-2018-13100Jul 3, 2018 · An issue was discovered in fs/f2fs/super.c in the Linux kernel through 4.17.3, which does not properly validate secs_per_zone in a…23Monitor
- Later →CVE-2018-13406Jul 6, 2018 · An integer overflow in the uvesafb_setcmap function in drivers/video/fbdev/uvesafb.c in the Linux kernel before 4.17.4 could result in…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libiscsi | 1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libiscsi-devel | 1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libiscsi-utils | 1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libvirt-dbus | 1.3.0-2.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:netcf | 0.2.8-12.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:netcf-devel | 0.2.8-12.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:netcf-libs | 0.2.8-12.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:qemu-guest-agent | 15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:qemu-img | 15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:qemu-kvm | 15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:qemu-kvm-block-curl | 15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:qemu-kvm-block-gluster | 15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 4.17.6-1 · Debian:12 | Package registry (OSV) |
| debian:linux-4.9 | 4.9.110-3+deb9u2~deb8u1 · Debian:8 | Package registry (OSV) |
| opensuse:kernel-debug | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-default | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-default-base | 5.3.18-lp152.102.1.lp152.8.49.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-docs | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-obs-build | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-obs-qa | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-preempt | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-source | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-syms | 5.3.18-lp152.102.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:kernel-vanilla | 4.12.14-197.102.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:kernel-zfcpdump | 4.12.14-197.102.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:kernel | 0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-abi-whitelists | 0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debug | 0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
+20
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | dos | 2018-07-16 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+10 d
- TodayNov 16, 2026+3055 d
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0241 · Mar 22, 2022(RedHat Güvenlik Zafiyeti)
- TR-19-122 · Aug 27, 2019(Linux Kernel Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-269 · Improper Privilege ManagementCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
To simplify setup, a service account is granted broad, cluster-wide permissions. The principle of least privilege is skipped during installation.
The bug in code
The whole CWE-269 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
kind: ClusterRole
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]Fixed
kind: Role
metadata:
namespace: lodos-system
rules:
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "list", "update"]Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- openwall.com/lists/oss-security/2018/07/13/2
- www.securityfocus.com/bid/106503
- access.redhat.com/errata/RHSA-2018:2948
- access.redhat.com/errata/RHSA-2018:3083
- access.redhat.com/errata/RHSA-2018:3096
- access.redhat.com/errata/RHSA-2019:0717
- access.redhat.com/errata/RHSA-2019:2476
- access.redhat.com/errata/RHSA-2019:2566
- access.redhat.com/errata/RHSA-2019:2696
- access.redhat.com/errata/RHSA-2019:2730
- access.redhat.com/errata/RHSA-2019:4159
- access.redhat.com/errata/RHSA-2019:4164
- git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406
- github.com/torvalds/linux/commit/0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7
- lists.debian.org/debian-lts-announce/2018/08/msg00014.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HRBNBX73SAFKQWBOX76SLMWPTKJPVGEJ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKKIAUMR5FAYLZ7HLEPOXMKAAE3BYBQ/
- support.f5.com/csp/article/K00854051
- twitter.com/grsecurity/status/1015082951204327425
Vendor advisories and official records. Exploit/PoC links are deliberately left out.