Use After Free Affecting bpftool package, versions <0:3.10.0-1160.21.1.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.43% (35th 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-BPFTOOL-7975858
  • published14 Sept 2024
  • disclosed16 Oct 2020

Introduced: 16 Oct 2020

CVE-2020-25656  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:7 bpftool to version 0:3.10.0-1160.21.1.el7 or higher.
This issue was patched in RHSA-2021:0856.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bpftool package and not the bpftool package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A flaw was found in the Linux kernel. A use-after-free was found in the way the console subsystem was using ioctls KDGKBSENT and KDSKBSENT. A local user could use this flaw to get read memory access out of bounds. The highest threat from this vulnerability is to data confidentiality.

CVSS Base Scores

version 3.1