CVE-2018-13405
A public proof of concept exists; no exploitation attested.
- Published2018-07-06
- Fixed in15.0.1.4 · 14.1.3.1 · 13.1.3.5
- WeaknessCWE-269
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2018-07-16Exploit-DB entryExploit-DB
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.0 | ≥ 15.0.0, < 15.0.1.4 | 15.0.1.4 | NVD |
| 14.x | ≥ 14.0.0, < 14.1.3.1 | 14.1.3.1 | NVD |
| 13.x | ≥ 13.0.0, < 13.1.3.5 | 13.1.3.5 | NVD |
| 15.1 | = 15.1.0 | no fix published | NVD |
| 16.0 | = 16.0.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.0 | ≥ 15.0.0, < 15.0.1.4 | 15.0.1.4 | NVD |
| 14.x | ≥ 14.0.0, < 14.1.3.1 | 14.1.3.1 | NVD |
| 13.x | ≥ 13.0.0, < 13.1.3.5 | 13.1.3.5 | NVD |
| 15.1 | = 15.1.0 | no fix published | NVD |
| 16.0 | = 16.0.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 15.0 | ≥ 15.0.0, < 15.0.1.4 | 15.0.1.4 | NVD |
| 14.x | ≥ 14.0.0, < 14.1.3.1 | 14.1.3.1 | NVD |
| 13.x | ≥ 13.0.0, < 13.1.3.5 | 13.1.3.5 | NVD |
| 15.1 | = 15.1.0 | no fix published | NVD |
| 16.0 | = 16.0.0 | no fix published | NVD |
24 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- kernelRed Hat:rhel_tus:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 17 other packages
- kernelRed Hat:rhel_tus:7.2::serverall versions · fixed in 0:3.10.0-327.83.1.el7and 17 other packages
- kernelRed Hat:rhel_eus:7.5::serverall versions · fixed in 0:3.10.0-862.41.1.el7and 24 other packages
- kernelRed Hat:rhel_eus:7.5::computenodeall versions · fixed in 0:3.10.0-862.41.1.el7and 17 other packages
- kernelRed Hat:rhel_eus:7.4::serverall versions · fixed in 0:3.10.0-693.58.1.el7and 23 other packages
- kernelRed Hat:rhel_eus:7.4::computenodeall versions · fixed in 0:3.10.0-693.58.1.el7and 16 other packages
- kernelRed Hat:rhel_e4s:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 19 other packages
- kernelRed Hat:rhel_e4s:7.2::serverall versions · fixed in 0:3.10.0-327.83.1.el7and 17 other packages
141 more package ranges on OSV.dev
Vendor advisories
kernel: Missing check in fs/inode.c:inode_init_owner() does not clear SGID bit on non-directories for non-members
kernel.src as a component of Red Hat Enterprise Linux 5 · kernel-rt as a component of Red Hat Enterprise MRG 2 · kernel-rt-debug as a component of Red Hat Enterprise MRG 2 · +10 more
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: kernel security and bug fix update
Red Hat Security Advisory: kernel-rt security and bug fix update
Red Hat Security Advisory: kernel security, bug fix, and enhancement update
5 more advisories
Fix
- Update F5 big-ip access policy manager to 15.0.1.4 · 14.1.3.1 · 13.1.3.5
- Vendor fix Red Hat Product Security RHSA-2019:4159 · 98 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
- Vendor fix Red Hat Product Security RHSA-2018:3096 · 26 productsFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.6 Release Notes l…
Advisories and patches
- git.kernel.orgPatch · Vendor Advisory
- openwall.comPatch
- git.kernel.orgPatch · Vendor Advisory
- github.comPatch
Detection
read 2026-11-19 10:48 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.8read 2026-10-23
- NVDCVSS 2.04.6read 2026-10-23
- NVDweakness (CWE)CWE-269read 2026-10-23
- FIRST EPSSEPSS score1.0 %2026-11-18
- Exploit-DBdetectionread 2026-11-19
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2018-5348same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5p56-pcgw-42mfsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2022:0886advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:1988advisory covering several CVEsAlmaLinux · MIT
- DLA-1466-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-1529-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4266-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0324advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2018-0340advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2018-0341advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2021:1477-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:3876-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2018:2948advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2018:3083advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2018:3096advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:0717advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:2476advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:2566advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:2696advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:2730advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:4159advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2019:4164advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:2051-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2092-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2150-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2222-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2344-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2344-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2362-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2384-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3723-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3748-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3876-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3929-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3935-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3972-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3752-1advisory covering several CVEsUbuntu
- USN-3752-2advisory covering several CVEsUbuntu
- USN-3752-3advisory covering several CVEsUbuntu
- USN-3753-1advisory covering several CVEsUbuntu
- USN-3753-2advisory covering several CVEsUbuntu
- USN-3754-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-07-06
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-5p56-pcgw-42mf
Frequently asked questions
What is CVE-2018-13405?
Is CVE-2018-13405 actively exploited?
What is the CVSS score for CVE-2018-13405?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5p56-pcgw-42mf
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0