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


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.15% (53rd 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-4816297
  • published26 Jul 2021
  • disclosed29 Mar 2017

Introduced: 29 Mar 2017

CVE-2017-7184  (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-693.5.2.rt56.626.el7 or higher.
This issue was patched in RHSA-2017:2931.

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 xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.

CVSS Scores

version 3.1