CVE-2023-6004
Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
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 61% of all CVEs (6 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.
Weakness
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 (8)
- 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)
- 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://trackcve.app/cve/CVE-2023-6004)Record last updated .