Azure Linux 3.0 Security Update: libssh (CVE-2023-6004)

medium Nessus Plugin ID 295491

Synopsis

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

Description

The version of libssh 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-6004 advisory.

- A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This issue May allow an attacker to inject malicious code into the command of the features mentioned through the hostname parameter. (CVE-2023-6004)

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-6004

Plugin Details

Severity: Medium

ID: 295491

File Name: azure_linux_CVE-2023-6004.nasl

Version: 1.1

Type: local

Published: 1/22/2026

Updated: 1/22/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2023-6004

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Temporal Score: 4.2

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:azure_linux:libssh, p-cpe:/a:microsoft:azure_linux:libssh-debuginfo, x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:libssh-config, p-cpe:/a:microsoft:azure_linux:libssh-devel

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/11/2025

Vulnerability Publication Date: 12/21/2023

Reference Information

CVE: CVE-2023-6004

IAVA: 2023-A-0703-S