Improper Access Control Affecting perf package, versions <0:2.6.32-754.12.1.el6


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.02% (59th 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 IDSNYK-RHEL6-PERF-1521296
  • published26 Jul 2021
  • disclosed5 Jul 2018

Introduced: 5 Jul 2018

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

How to fix?

Upgrade RHEL:6 perf to version 0:2.6.32-754.12.1.el6 or higher.
This issue was patched in RHSA-2019:0717.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

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