Out-of-Bounds Affecting bpftool package, versions <0:4.18.0-372.9.1.el8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (45th 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-RHEL8-BPFTOOL-4256337
  • published23 Dec 2021
  • disclosed17 May 2021

Introduced: 17 May 2021

CVE-2021-4157  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade RHEL:8 bpftool to version 0:4.18.0-372.9.1.el8 or higher.
This issue was patched in RHSA-2022:1988.

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:8 relevant fixed versions and status.

An out of memory bounds write flaw (1 or 2 bytes of memory) in the Linux kernel NFS subsystem was found in the way users use mirroring (replication of files with NFS). A user, having access to the NFS mount, could potentially use this flaw to crash the system or escalate privileges on the system.

CVSS Scores

version 3.1