Azure Linux 3.0 Security Update: libpcap / nmap (CVE-2023-7256)

medium Nessus Plugin ID 215725

Synopsis

The remote Azure Linux host is missing one or more security updates.

Description

The version of libpcap / nmap installed on the remote Azure Linux 3.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2023-7256 advisory.

- In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400. (CVE-2023-7256)

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-2023-7256

Plugin Details

Severity: Medium

ID: 215725

File Name: azure_linux_CVE-2023-7256.nasl

Version: 1.1

Type: local

Published: 2/10/2025

Updated: 2/10/2025

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-2023-7256

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:azure_linux:nmap, p-cpe:/a:microsoft:azure_linux:libpcap-static, x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:libpcap, p-cpe:/a:microsoft:azure_linux:nmap-debuginfo, p-cpe:/a:microsoft:azure_linux:libpcap-devel, p-cpe:/a:microsoft:azure_linux:nmap-ncat, p-cpe:/a:microsoft:azure_linux:libpcap-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/12/2024

Vulnerability Publication Date: 8/30/2024

Reference Information

CVE: CVE-2023-7256

IAVA: 2024-A-0542