Skip to content
Noroxi
CVE-2018-13405· NVD / CVE Program· CNA mitre

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 own

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.

HighCVSS 7.8 · v3.1—Proof of concept Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Jul 6, 2018
Updated
Jun 16, 2026
EPSS
1.0% · 62th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.0%

Affected systems

VendorProduct
linuxlinux kernel
debiandebian linux
canonicalubuntu linux
fedoraprojectfedora
redhatmrg realtime
redhatvirtualization
redhatenterprise linux aus
redhatenterprise linux desktop
redhatenterprise linux eus
redhatenterprise linux for real time
redhatenterprise linux server
redhatenterprise 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
  • 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.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernelbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-corebefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-cross-headersbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-debugbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-debug-corebefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-debug-develbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-develbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-docbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-headersbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-modulesbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-modules-extrabefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-toolsbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-tools-libsbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8kernel-tools-libs-develbefore 4.18.0-372.9.1.el84.18.0-372.9.1.el8
AlmaLinux:8libiscsibefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libiscsi-develbefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libiscsi-utilsbefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libvirt-dbusbefore 1.3.0-2.module_el8.6.0+2880+7d9e37031.3.0-2.module_el8.6.0+2880+7d9e3703
AlmaLinux:8netcfbefore 0.2.8-12.module_el8.6.0+2880+7d9e37030.2.8-12.module_el8.6.0+2880+7d9e3703
AlmaLinux:8netcf-develbefore 0.2.8-12.module_el8.6.0+2880+7d9e37030.2.8-12.module_el8.6.0+2880+7d9e3703

+96

Other highest-scoring records for the same primary product.

  • 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 KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:libiscsi1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libiscsi-devel1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:netcf0.2.8-12.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:netcf-devel0.2.8-12.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:netcf-libs0.2.8-12.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:qemu-guest-agent15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8Package registry (OSV)
almalinux:qemu-img15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8Package registry (OSV)
almalinux:qemu-kvm15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8Package registry (OSV)
almalinux:qemu-kvm-block-curl15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8Package registry (OSV)
almalinux:qemu-kvm-block-gluster15:4.2.0-59.module_el8.5.0+2629+68d2f392.2 · AlmaLinux:8Package registry (OSV)
debian:linux4.17.6-1 · Debian:12Package registry (OSV)
debian:linux-4.94.9.110-3+deb9u2~deb8u1 · Debian:8Package registry (OSV)
opensuse:kernel-debug5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-default5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-default-base5.3.18-lp152.102.1.lp152.8.49.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-docs5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-kvmsmall5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-obs-build5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-obs-qa5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-preempt5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-source5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-syms5.3.18-lp152.102.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:kernel-vanilla4.12.14-197.102.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:kernel-zfcpdump4.12.14-197.102.2 · openSUSE:Leap 15.3Package registry (OSV)
red hat:kernel0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:kernel-abi-whitelists0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:kernel-debug0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:kernel-debug-debuginfo0:2.6.32-754.12.1.el6 · Red Hat:enterprise_linux:6::clientPackage 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.

Public exploit evidence
SourceKindDate
Exploit-DB entrydos2018-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.

  1. Published
  2. First PoC+10 d
  3. TodaySep 30, 2026+3008 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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

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

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

yaml
kind: ClusterRolerules:  - apiGroups: ["*"]    resources: ["*"]    verbs: ["*"]

Fixed

yaml
kind: Rolemetadata:  namespace: lodos-systemrules:  - 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

All records