Out-of-Bounds Affecting libbpf0 package, versions <0.5.0-150400.3.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.96% (63rd 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-SLES154-LIBBPF0-3320024
  • published15 Feb 2023
  • disclosed14 Feb 2023

Introduced: 14 Feb 2023

CVE-2022-3534  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 libbpf0 to version 0.5.0-150400.3.3.1 or higher.

NVD Description

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

A vulnerability has been found in Linux Kernel up to 5.10.162/5.15.85/6.0.15/6.1.1. The impacted element is the function btf_dump_name_dups of the file tools/lib/bpf/btf_dump.c of the component libbpf. The manipulation leads to use after free. Upgrading to version 5.10.163, 5.15.86, 6.0.16, 6.1.2 and 6.2 is sufficient to resolve this issue. The identifier of the patch is c61650b869e0b6fb0c0a28ed42d928eea969afc8/fbe08093fb2334549859829ef81d42570812597d/8c64a8e76eb85d422af5ec60ccbf26e3ead8c333/a733bf10198eb5bb927890940de8ab457491ed3b/93c660ca40b5d2f7c1b1626e955a8e9fa30e0749. You should upgrade the affected component.

CVSS Base Scores

version 3.1