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


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-1520887
  • published26 Jul 2021
  • disclosed21 Aug 2018

Introduced: 21 Aug 2018

CVE-2018-10902  (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-754.11.1.el6 or higher.
This issue was patched in RHSA-2019:0415.

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.

It was found that the raw midi kernel driver does not protect against concurrent access which leads to a double realloc (double free) in snd_rawmidi_input_params() and snd_rawmidi_output_status() which are part of snd_rawmidi_ioctl() handler in rawmidi.c file. A malicious local attacker could possibly use this for privilege escalation.