Out-of-bounds Write Affecting libbpf package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu 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-UBUNTU2110-LIBBPF-2330178
  • published5 Jan 2022
  • disclosed1 Jan 2022

Introduced: 1 Jan 2022

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

How to fix?

There is no fixed version for Ubuntu:21.10 libbpf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libbpf package and not the libbpf package as distributed by Ubuntu. See How to fix? for Ubuntu:21.10 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