CVE-2018-13405

HIGH
7.8
CVSS Score
Published: July 6, 2018 at 02:00 PM UTC
Updated: June 17, 2026 at 01:39 AM UTC
27 products affected across 6 vendorsLinux KernelDebian LinuxFedora

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement
13.0.0 ≤ v < 13.1.3.514.0.0 ≤ v < 14.1.3.115.0.0 ≤ v < 15.0.1.415.1.016.0.0
Affected range stops below 13.1.3.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.1.3.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.0.1.4, so it looks safe — our inference, not a vendor statement

References (28)

x_refsource_MISCMailing ListPatchThird Party Advisory
http://openwall.com/lists/oss-security/2018/07/13/2
VDB Entryx_refsource_BIDBroken Link
http://www.securityfocus.com/bid/106503
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:2948
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:3083
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:3096
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:0717
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:2476

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-269

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card