SARA / Free Tools / CVE / CVE-2023-6004

CVE-2023-6004 — A flaw was found in libssh

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
4.8 MEDIUM
EPSS
0.05% (top 84.30%)
CWE
CWE-74
Published
2024-01-03T17:01:38.672Z
Last modified
2025-11-07T00:19:08.335Z
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

01What is this vulnerability?

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.

02Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 80:0.9.6-14.el8
Red HatRed Hat Enterprise Linux 80:0.9.6-14.el8
Red HatRed Hat Enterprise Linux 90:0.10.4-13.el9
Red HatRed Hat Enterprise Linux 90:0.10.4-13.el9
Red HatRed Hat Enterprise Linux 7unspecified

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →