Out-of-bounds Write Affecting libbpf package, versions <0.7.0-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.25% (70th 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-DEBIANUNSTABLE-LIBBPF-2329017
  • published1 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?

Upgrade Debian:unstable libbpf to version 0.7.0-2 or higher.

NVD Description

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

version 3.1