VDB

CVE-2018-13405

CVE-2018-13405 PUBLISHED

Reported by mitre · Published July 6, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux4.14.59-68.43.amzn2
linux-awsUbuntu:16.04:LTS4.4.0-1066.76
linuxUbuntu:18.04:LTS4.15.0-33.36
big-ip_advanced_firewall_managerf515.0.1.4, 14.1.3.1, 13.1.3.5
big-ip_policy_enforcement_managerf515.0.1.4, 14.1.3.1, 13.1.3.5
linux-raspi2Ubuntu:18.04:LTS4.15.0-1021.23
linux-gcpUbuntu:18.04:LTS4.15.0-1018.19
linux_kernellinux3.16
big-ip_edge_gatewayf515.0.1.4, 14.1.3.1, 13.1.3.5
big-ip_application_acceleration_managerf515.0.1.4, 14.1.3.1, 13.1.3.5
big-ip_fraud_protection_servicef515.0.1.4, 14.1.3.1, 13.1.3.5
big-ip_analyticsf515.0.1.4, 14.1.3.1, 13.1.3.5

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Jul 6, 2018 CVE Published
  • Jul 16, 2018 PoC Published (6 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Oct 24, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (32 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (36 in total, the first dated here)
  • Sep 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-13405
vulnetix vdb fixes CVE-2018-13405

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-13405/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 8 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›