Privilege Escalation Affecting torvalds/linux package, versions [,4.17.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Privilege Escalation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3004457
  • published26 Jan 2022
  • disclosed6 Jul 2018
  • creditUnknown

Introduced: 6 Jul 2018

CVE-2018-13405  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.17.5 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation. 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.

CVSS Base Scores

version 3.1