Race Condition Affecting perf package, versions <0:2.6.32-573.el6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-1497374
  • published26 Jul 2021
  • disclosed20 Apr 2015

Introduced: 20 Apr 2015

CVE-2015-3339  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade RHEL:6 perf to version 0:2.6.32-573.el6 or higher.
This issue was patched in RHSA-2015:1272.

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.

Race condition in the prepare_binprm function in fs/exec.c in the Linux kernel before 3.19.6 allows local users to gain privileges by executing a setuid program at a time instant when a chown to root is in progress, and the ownership is changed but the setuid bit is not yet stripped.

References

CVSS Scores

version 3.1