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
History
Type Values Removed Values Added
First Time appeared Redhat openshift Sandboxed Containers
CPEs cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
Vendors & Products Redhat openshift Sandboxed Containers
References
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics epss

{'score': 0.00069}

epss

{'score': 0.00071}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 27, 2026, 3:38 AM
Reserved
Nov 8, 2023, 12:07 AM
Status
Modified
Published
Jan 3, 2024, 5:15 PM
Modified
Nov 27, 2026, 3:17 AM
Severity
Low
Public date
Dec 18, 2023, 1:00 AM