CVE-2023-6004

published 3 Jan 2024 · updated 6 Nov 2026

Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.10.6 and 0.9.8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
fedoraprojectfedora=38
libsshlibssh>=0.10.0 <0.10.6, >=0.8.0 <0.9.80.10.6, 0.9.8
redhatenterprise_linux=9.0, =8.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-6004 severity on Zeptric[![CVE-2023-6004](https://zeptric.io/badge/cve/CVE-2023-6004.svg)](https://zeptric.io/cve/CVE-2023-6004)