CVE-2023-6004
Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
- 4.8MediumCVSS base score
- 0.45%Exploitation in 30 daysEPSS · top 60% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 57 days later
· 57 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.45% · top 60% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:0.9.6-14.el8 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:0.9.6-14.el8 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:0.10.4-13.el9 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:0.10.4-13.el9 – < *
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
What to do
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.
References
References8
- RHSA-2024:2504 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3233 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-6004 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2251110 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://www.libssh.org/security/advisories/CVE-2023-6004.txt (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240223-0004/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-58271 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-6004)Record last updated .