CBL Mariner 2.0 Security Update: libpcap / nmap (CVE-2024-8006)

medium Nessus Plugin ID 210130

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of libpcap / nmap installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2024-8006 advisory.

- Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence. (CVE-2024-8006)

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

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2024-8006

Plugin Details

Severity: Medium

ID: 210130

File Name: mariner_CVE-2024-8006.nasl

Version: 1.2

Type: local

Published: 11/2/2024

Updated: 11/21/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2024-8006

CVSS v3

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:cbl-mariner:libpcap-devel, p-cpe:/a:microsoft:cbl-mariner:libpcap, p-cpe:/a:microsoft:cbl-mariner:libpcap-static, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:nmap-ncat, p-cpe:/a:microsoft:cbl-mariner:nmap

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/2/2024

Vulnerability Publication Date: 8/30/2024

Reference Information

CVE: CVE-2024-8006

IAVA: 2024-A-0542