Buffer Overflow Affecting libbpf package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.11% (46th 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-CENTOS9-LIBBPF-2878814
  • published22 Jan 2022
  • disclosed1 Jan 2022

Introduced: 1 Jan 2022

CVE-2021-45940  (opens in a new tab)
CWE-120  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

There is no fixed version for Centos:9 libbpf.

NVD Description

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

libbpf 0.6.0 and 0.6.1 has a heap-based buffer overflow (4 bytes) in __bpf_object__open (called from bpf_object__open_mem and bpf-object-fuzzer.c).

CVSS Scores

version 3.1