Insufficient Comparison Affecting perf package, versions <0:4.18.0-372.91.1.el8_6


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (26th 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-6234877
  • published8 Feb 2024
  • disclosed13 Oct 2021

Introduced: 13 Oct 2021

CVE-2021-34866  (opens in a new tab)
CWE-697  (opens in a new tab)

How to fix?

Upgrade RHEL:8 perf to version 0:4.18.0-372.91.1.el8_6 or higher.
This issue was patched in RHSA-2024:0724.

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.

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.14-rc3. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs, which can result in a type confusion condition. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-14689.

CVSS Scores

version 3.1