Amazon Linux 2 : libbpf (ALAS-2022-1889)

high Nessus Plugin ID 168439

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of libbpf installed on the remote host is prior to 0.5.0-2. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2022-1889 advisory.

- A vulnerability classified as critical has been found in Linux Kernel. Affected 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. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-211032. (CVE-2022-3534)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update libbpf' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2022-1889.html

https://alas.aws.amazon.com/cve/html/CVE-2022-3534.html

Plugin Details

Severity: High

ID: 168439

File Name: al2_ALAS-2022-1889.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/7/2022

Updated: 12/7/2022

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.7

Temporal Score: 5.7

Vector: CVSS2#AV:A/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-3534

CVSS v3

Risk Factor: High

Base Score: 8

Temporal Score: 7

Vector: CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libbpf, p-cpe:/a:amazon:linux:libbpf-debuginfo, p-cpe:/a:amazon:linux:libbpf-devel, p-cpe:/a:amazon:linux:libbpf-static, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2022

Vulnerability Publication Date: 10/17/2022

Reference Information

CVE: CVE-2022-3534