CVE-2023-6004

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

Published Jan 3, 2024 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5591-1 libssh security update
EUVD EUVD EUVD-2023-58271 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.
Ubuntu USN Ubuntu USN USN-6592-1 libssh vulnerabilities
Ubuntu USN Ubuntu USN USN-6592-2 libssh vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 1:40 PM
Reserved
Nov 7, 2023, 11:07 PM
Status
Modified
Published
Jan 3, 2024, 5:15 PM
Modified
Nov 6, 2026, 2:17 PM
Severity
Low
Public date
Dec 18, 2023, 12:00 AM