CVE-2018-13405Linux Kernel
High 7.8
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 65
- Auth required
- Yes
- Published
- Jul 6, 2018
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-269
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≤ 3.16 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| redhat | mrg_realtime | 2.0 |
| redhat | virtualization | 4.0 |
| redhat | enterprise_linux_aus | 7.4 |
| redhat | enterprise_linux_desktop | 6.0 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_eus | 7.4 |
| redhat | enterprise_linux_eus | 7.5 |
| redhat | enterprise_linux_for_real_time | 7 |
| redhat | enterprise_linux_server | 6.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 6.6 |
| redhat | enterprise_linux_server_aus | 7.2 |
| redhat | enterprise_linux_server_aus | 7.3 |
| redhat | enterprise_linux_server_tus | 7.2 |
| redhat | enterprise_linux_server_tus | 7.3 |
| redhat | enterprise_linux_server_tus | 7.4 |
| redhat | enterprise_linux_workstation | 6.0 |
| redhat | enterprise_linux_workstation | 7.0 |
| f5 | big-ip_access_policy_manager | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_access_policy_manager | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_access_policy_manager | ≥ 15.0.0 < 15.0.1.4 |
| f5 | big-ip_access_policy_manager | 15.1.0 |
| f5 | big-ip_access_policy_manager | 16.0.0 |
| f5 | big-ip_advanced_firewall_manager | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_advanced_firewall_manager | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_advanced_firewall_manager | ≥ 15.0.0 < 15.0.1.4 |
| f5 | big-ip_advanced_firewall_manager | 15.1.0 |
| f5 | big-ip_advanced_firewall_manager | 16.0.0 |
| f5 | big-ip_analytics | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_analytics | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_analytics | ≥ 15.0.0 < 15.0.1.4 |
| f5 | big-ip_analytics | 15.1.0 |
| f5 | big-ip_analytics | 16.0.0 |
| f5 | big-ip_application_acceleration_manager | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_application_acceleration_manager | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_application_acceleration_manager | ≥ 15.0.0 < 15.0.1.4 |
| f5 | big-ip_application_acceleration_manager | 15.1.0 |
| f5 | big-ip_application_acceleration_manager | 16.0.0 |
| f5 | big-ip_application_security_manager | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_application_security_manager | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_application_security_manager | ≥ 15.0.0 < 15.0.1.4 |
| f5 | big-ip_application_security_manager | 15.1.0 |
| f5 | big-ip_application_security_manager | 16.0.0 |
| f5 | big-ip_domain_name_system | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_domain_name_system | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_domain_name_system | ≥ 15.0.0 < 15.0.1.4 |
| f5 | big-ip_domain_name_system | 15.1.0 |
| f5 | big-ip_domain_name_system | 16.0.0 |
| f5 | big-ip_edge_gateway | ≥ 13.0.0 < 13.1.3.5 |
| f5 | big-ip_edge_gateway | ≥ 14.0.0 < 14.1.3.1 |
| f5 | big-ip_edge_gateway | ≥ 15.0.0 < 15.0.1.4 |
and 32 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch Vendor Advisory
- openwall.com Mailing List Patch Third Party Advisory
- www.securityfocus.com Broken Link
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- git.kernel.org Mailing List Patch Vendor Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- support.f5.com Third Party Advisory
- twitter.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry