CVE catalog

CVE-2023-6004

libssh: CVE-2023-6004

[CVE catalog]

Severity
Medium · CVSS 4.8CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

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. libssh: ProxyCommand/ProxyJump features allow injection of malicious code through hostname Despite the potential severity of this issue, the requirement for user interaction to exploit the vulnerability has led to a low severity rating. As a precautionary measure, users are advised to sanitize hostname inputs as a mitigation strategy. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibsshsid0.12.2-1fixed
Debianlibsshforky0.12.2-1fixed
Debianlibsshtrixie0.11.5-0+deb13u1fixed
Debianlibsshtrixie-security0.11.5-0+deb13u1fixed
Debianlibsshbookworm0.10.6-0+deb12u2fixed
Debianlibsshbookworm-security0.10.6-0+deb12u3fixed
Ubuntulibsshpro0.7.5-1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1build1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.2vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.5vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.6vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.7vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3fixed
Ubuntulibsshpro0.7.5-1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1build1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.1vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.2vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.5vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.6vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.7vulnerable
Ubuntulibsshpro0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3fixed
Ubuntulibssh20.040.9.0-1ubuntu1vulnerable
Ubuntulibssh20.040.9.0-1ubuntu4vulnerable
Ubuntulibssh20.040.9.0-1ubuntu5vulnerable
Ubuntulibssh20.040.9.3-2ubuntu1vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.1vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.2vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.3vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.4vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.5fixed
Ubuntulibssh22.040.9.6-1vulnerable
Ubuntulibssh22.040.9.6-1build1vulnerable
Ubuntulibssh22.040.9.6-2vulnerable
Ubuntulibssh22.040.9.6-2build1vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.1vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.2vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.3fixed
Ubuntulibssh20.040.9.0-1ubuntu1vulnerable
Ubuntulibssh20.040.9.0-1ubuntu4vulnerable
Ubuntulibssh20.040.9.0-1ubuntu5vulnerable
Ubuntulibssh20.040.9.3-2ubuntu1vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.1vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.2vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.3vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.4vulnerable
Ubuntulibssh20.040.9.3-2ubuntu2.5fixed
Ubuntulibssh22.040.9.6-1vulnerable
Ubuntulibssh22.040.9.6-1build1vulnerable
Ubuntulibssh22.040.9.6-2vulnerable
Ubuntulibssh22.040.9.6-2build1vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.1vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.2vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibsshsourcesid0.10.6-1not yet assignedNot reported[1059061]
Debianlibsshsourceforky0.10.6-1not yet assignedNot reported[1059061]
Debianlibsshsourcetrixie0.10.6-1not yet assignedNot reported[1059061]
Debianlibsshsourcebookworm0.10.6-0+deb12u1not yet assignedNot reported[1059061]
Ubuntulibsshdebpro0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3Not reportedUSN-6592-2Not reported
Ubuntulibsshdebpro0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3Not reportedUBUNTU-CVE-2023-6004Not reported
Ubuntulibsshdeb20.040.9.3-2ubuntu2.5Not reportedUBUNTU-CVE-2023-6004Not reported
Ubuntulibsshdeb22.040.9.6-2ubuntu0.22.04.3Not reportedUBUNTU-CVE-2023-6004Not reported
Ubuntulibsshdeb20.040.9.3-2ubuntu2.5Not reportedUSN-6592-1Not reported
Ubuntulibsshdeb22.040.9.6-2ubuntu0.22.04.3Not reportedUSN-6592-1Not reported

[Debian bug #1059061]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References