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


Severity

Recommended
high

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 IDSNYK-RHEL7-KERNELRTTRACE-4625358
  • published26 Jul 2021
  • disclosed24 Jun 2016

Introduced: 24 Jun 2016

CVE-2016-4998  (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-327.36.1.rt56.237.el7 or higher.
This issue was patched in RHSA-2016:1875.

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.

The IPT_SO_SET_REPLACE setsockopt implementation in the netfilter subsystem in the Linux kernel before 4.6 allows local users to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from kernel heap memory by leveraging in-container root access to provide a crafted offset value that leads to crossing a ruleset blob boundary.

References