CVE-2023-6004
MEDIUM 4.8CVSS 3.1Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
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.
- Published
- 3 Jan 2024
- Last modified
- 27 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-74
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| CVE List | redhat | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
>= 0.8.0, < 0.9.8 | 0.9.8 |
| NVD | libssh | libsshcpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
>= 0.10.0, < 0.10.6 | 0.10.6 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-monitor-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-must-gather-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-operator-bundlecpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-podvm-builder-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-podvm-payload-rhel9cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift-sandboxed-containers/osc-rhel9-operatorcpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | libsshcpe:/o:redhat:rhel_els:7 |
References
- https://access.redhat.com/errata/RHBA-2024:3964 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:2504 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:3233 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-6004 · Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2251110 · Issue Tracking, issue-tracking, x_refsource_REDHAT
- https://www.libssh.org/security/advisories/CVE-2023-6004.txt · Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/ · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/
- https://security.netapp.com/advisory/ntap-20240223-0004/ · x_transferred
History
- 27 Nov 2026 04:51 UTC · NVD: 1 reference added
- 27 Nov 2026 02:49 UTC · CVE List: first stored (published 3 Jan 2024)
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Jan 2024)