CVE-2023-6004

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

MEDIUM
4.8
CVSS Score
Published: January 3, 2024 at 05:01 PM UTC
Updated: June 17, 2026 at 06:49 AM UTC
3 products affected across 3 vendorsFedoraEnterprise LinuxLibssh

Using Red Hat Enterprise Linux 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Enterprise Linux 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.8
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.10.0 ≤ v < 0.10.60.8.0 ≤ v < 0.9.8
Affected range stops below 0.10.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.9.8, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 0:0.10.4-13.el9 (unaffected)
Vendor states this is fixed in 0:0.9.6-14.el8 (unaffected)
Vendor states this is fixed in 7 (unknown)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.8MEDIUMredhat
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card