Access Restriction Bypass Affecting perf package, versions <0:2.6.32-220.23.1.el6


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (15th 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-1442571
  • published26 Jul 2021
  • disclosed17 Apr 2012

Introduced: 17 Apr 2012

CVE-2012-2123  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade RHEL:6 perf to version 0:2.6.32-220.23.1.el6 or higher.
This issue was patched in RHSA-2012:0743.

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 cap_bprm_set_creds function in security/commoncap.c in the Linux kernel before 3.3.3 does not properly handle the use of file system capabilities (aka fcaps) for implementing a privileged executable file, which allows local users to bypass intended personality restrictions via a crafted application, as demonstrated by an attack that uses a parent process to disable ASLR.

CVSS Scores

version 3.1