CVE Catalog

CVE-2023-6004

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

39th percentile - higher than 39% of all known CVEs

Summary

A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This may allow an attacker to inject malicious code into the command of these features through the hostname parameter.

Risk Assessment

This may lead to arbitrary code execution on the client workstation when a user connects to a crafted host.

Recommendation

Update libssh to a patched version and avoid using ProxyCommand/ProxyJump with untrusted hostnames.

Other vulnerabilities in libssh

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS