Improper Locking Affecting bpftool package, versions <0:4.18.0-372.87.1.el8_6


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-6201139
  • published26 Jan 2024
  • disclosed21 Jul 2022

Introduced: 21 Jul 2022

CVE-2022-3028  (opens in a new tab)
CWE-667  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:8 bpftool to version 0:4.18.0-372.87.1.el8_6 or higher.
This issue was patched in RHSA-2024:0412.

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.

A race condition was found in the Linux kernel's IP framework for transforming packets (XFRM subsystem) when multiple calls to xfrm_probe_algs occurred simultaneously. This flaw could allow a local attacker to potentially trigger an out-of-bounds write or leak kernel heap memory by performing an out-of-bounds read and copying it into a socket.

CVSS Scores

version 3.1