CVE Tools

CVE-2023-6004

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

Published: Jan 3, 2024Updated: Nov 4, 2025 Sources: CVE List NVD BDUCWE-74
4.8CVSSMEDIUM

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.

CVSS Vector Breakdown

AV:LAC:LPR:LUI:RS:UC:LI:LA:L
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:LConfidentiality
Low
I:LIntegrity
Low
A:LAvailability
Low

Weaknesses

Affected Products

red hatcommercialUSOperating Systemsaka red hat
red hat inc.commercialUSOperating Systemsaka red hat
and 13 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available
Workaround Available

MITRE ATT&CK

2 techniques
Execution
Initial Access
View detailed technique mapping

References

and 21 more references View all →

Timeline

Published
Jan 3, 2024
Last Updated
Nov 4, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2023-6004 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows