Use After Free Affecting python-perf package, versions <0:2.6.32-696.el6


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL6-PYTHONPERF-1510332
  • published26 Jul 2021
  • disclosed11 Jan 2017

Introduced: 11 Jan 2017

CVE-2016-10088  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:6 python-perf to version 0:2.6.32-696.el6 or higher.
This issue was patched in RHSA-2017:0817.

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 RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

The sg implementation in the Linux kernel through 4.9 does not properly restrict write operations in situations where the KERNEL_DS option is set, which allows local users to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging access to a /dev/sg device, related to block/bsg.c and drivers/scsi/sg.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-9576.

CVSS Scores

version 3.1