Privilege Dropping / Lowering Errors Affecting perf package, versions <0:4.18.0-80.7.2.el8_0


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.32% (70th 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-RHEL8-PERF-3433160
  • published26 Jul 2021
  • disclosed16 Jul 2019

Introduced: 16 Jul 2019

CVE-2019-13272  (opens in a new tab)
CWE-271  (opens in a new tab)

How to fix?

Upgrade RHEL:8 perf to version 0:4.18.0-80.7.2.el8_0 or higher.
This issue was patched in RHSA-2019:2411.

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:8 relevant fixed versions and status.

In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.

References

CVSS Scores

version 3.1