Out-of-bounds Read Affecting bpftool package, versions <0:4.18.0-348.el8


Severity

Recommended
medium

Based on CentOS 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-CENTOS8-BPFTOOL-2139231
  • published26 Jul 2021
  • disclosed23 Jun 2021

Introduced: 23 Jun 2021

CVE-2021-3600  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Centos:8 bpftool to version 0:4.18.0-348.el8 or higher.

NVD Description

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

It was discovered that the eBPF implementation in the Linux kernel did not properly track bounds information for 32 bit registers when performing div and mod operations. A local attacker could use this to possibly execute arbitrary code.

CVSS Scores

version 3.1