Improper Resource Shutdown or Release Affecting libbpf package, versions <0.5.0-1~ubuntu20.04.1+esm1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.35% (32nd 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-UBUNTU2004-LIBBPF-3062982
  • published26 Oct 2022
  • disclosed19 Oct 2022

Introduced: 19 Oct 2022

CVE-2022-3606  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 libbpf to version 0.5.0-1~ubuntu20.04.1+esm1 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 Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

A vulnerability was found in Linux Kernel. It has been classified as problematic. This affects the function find_prog_by_sec_insn of the file tools/lib/bpf/libbpf.c of the component BPF. The manipulation leads to null pointer dereference. It is recommended to apply a patch to fix this issue. The identifier VDB-211749 was assigned to this vulnerability.

CVSS Base Scores

version 3.1