Incorrect Calculation Affecting python3-perf package, versions <0:4.18.0-348.el8


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (20th 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-CENTOS8-PYTHON3PERF-2136433
  • published26 Jul 2021
  • disclosed21 May 2021

Introduced: 21 May 2021

CVE-2021-31440  (opens in a new tab)
CWE-682  (opens in a new tab)

How to fix?

Upgrade Centos:8 python3-perf to version 0:4.18.0-348.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-perf package and not the python3-perf package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. 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 prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-13661.

CVSS Scores

version 3.1