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


Severity

Recommended
medium

Based on CentOS 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-CENTOS6-PERF-2120256
  • 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 Centos:6 perf to version 0:2.6.32-573.el6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by Centos. See How to fix? for Centos: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