Heap-based Buffer Overflow Affecting kernel-rt-trace package, versions <0:3.10.0-957.rt56.910.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux 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-RHEL7-KERNELRTTRACE-4877681
  • 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)
First added by Snyk

How to fix?

Upgrade RHEL:7 kernel-rt-trace to version 0:3.10.0-957.rt56.910.el7 or higher.
This issue was patched in RHSA-2018:3096.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-trace package and not the kernel-rt-trace package as distributed by RHEL. See How to fix? for RHEL: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).