Heap-based Buffer Overflow Affecting python-perf package, versions <0:3.10.0-957.el7


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.1% (42nd 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-CENTOS7-PYTHONPERF-2110098
  • published26 Jul 2021
  • disclosed17 May 2018

Introduced: 17 May 2018

CVE-2018-1120  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:7 python-perf to version 0:3.10.0-957.el7 or higher.

NVD Description

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

A flaw was found affecting the Linux kernel before version 4.17. By mmap()ing a FUSE-backed file onto a process's memory containing command line arguments (or environment strings), an attacker can cause utilities from psutils or procps (such as ps, w) or any other program which makes a read() call to the /proc/<pid>/cmdline (or /proc/<pid>/environ) files to block indefinitely (denial of service) or for some controlled time (as a synchronization primitive for other attacks).