CVE-2023-6004
published medium CVSS 3.1 · 4.8Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-monitor-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-must-gather-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-12 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | libssh | Advisory build | 0.9.6-14.el8 | ALSA-2024:3233 |
| Alpine Linux | edge | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Debian | bookworm | libssh | Advisory build | 0.10.6-0+deb12u1 | DSA-5591-1 |
Show 104 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-sandboxed-containers/osc-operator-bundleOSE-OSC-1.6-RHEL-9 · 1.6.0-62 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-podvm-builder-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-13 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-podvm-payload-rhel9OSE-OSC-1.6-RHEL-9 · 1.6.0-7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-rhel9-operatorOSE-OSC-1.6-RHEL-9 · 1.6.0-13 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | libssh0:0.9.6-14.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | libssh0:0.10.4-13.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | libssh | Unknown | Not stated | redhat |
| Oracle Linux | 8 | libsshaarch64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Ubuntu | bionic | libssh | Advisory build | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | USN-6592-2 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configaarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| AlmaLinux | 9 | libssh | Advisory build | 0.10.4-13.el9 | ALSA-2024:2504 |
| Alpine Linux | v3.19 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.20 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.21 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.22 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.23 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Alpine Linux | v3.24 | libssh | Fixed | 0.10.6-r0 | Package fix record |
| Debian | bullseye | libssh | Advisory build | 0.9.8-0+deb11u1 | DSA-5591-1 |
| Oracle Linux | 8 | libsshx86_64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 9 | libsshaarch64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libsshx86_64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Red Hat Enterprise Linux | RHEL-8 | libsshi686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshs390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshsrc | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libsshx86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-9 | libsshaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshi686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshs390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshsrc | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libsshx86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Ubuntu | focal | libssh | Advisory build | 0.9.3-2ubuntu2.5 | USN-6592-1 |
| Ubuntu | jammy | libssh | Advisory build | 0.9.6-2ubuntu0.22.04.3 | USN-6592-1 |
| Ubuntu | xenial | libssh | Advisory build | 0.6.3-4.3ubuntu0.6+esm1 | USN-6592-2 |
| AlmaLinux | 8 | libssh-config | Advisory build | 0.9.6-14.el8 | ALSA-2024:3233 |
| AlmaLinux | 8 | libssh-devel | Advisory build | 0.9.6-14.el8 | ALSA-2024:3233 |
| AlmaLinux | 9 | libssh-config | Advisory build | 0.10.4-13.el9 | ALSA-2024:2504 |
| AlmaLinux | 9 | libssh-devel | Advisory build | 0.10.4-13.el9 | ALSA-2024:2504 |
| Oracle Linux | 8 | libssh-configaarch64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 8 | libssh-configx86_64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 8 | libssh-develaarch64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 8 | libssh-develx86_64 | Advisory build | 0:0.9.6-14.el8 | ELSA-2024-3233 |
| Oracle Linux | 9 | libssh-configaarch64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libssh-configx86_64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libssh-develaarch64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux | 9 | libssh-develx86_64 | Advisory build | 0:0.10.4-13.el9 | ELSA-2024-2504 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-confignoarch | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoi686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfos390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfox86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcei686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsources390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcex86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develaarch64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develi686 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develppc64le | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-devels390x | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develx86_64 | Advisory build | 0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-confignoarch | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoi686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfos390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfox86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcei686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsources390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcex86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develaarch64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develi686 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develppc64le | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-devels390x | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develx86_64 | Advisory build | 0.10.4-13.el9 | RHSA-2024:2504 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configs390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develaarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-devels390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4aarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4ppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4s390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4x86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bits390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bitx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configaarch64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configppc64le | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configs390x | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-configx86_64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-develaarch64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-develppc64le | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-devels390x | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh-develx86_64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh4aarch64 | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh4ppc64le | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE / openSUSE | SLE-15-SP2 | libssh4s390x | Advisory build | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-12 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-62 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-13 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | OSE-OSC-1.6-RHEL-9 | 1.6.0-13 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:0.9.6-14.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:0.9.6-14.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-13.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-13.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
9- RHBA-2024:3964 https://access.redhat.com/errata/RHBA-2024:3964
- RHSA-2024:2504 https://access.redhat.com/errata/RHSA-2024:2504
- RHSA-2024:3233 https://access.redhat.com/errata/RHSA-2024:3233
- https://access.redhat.com/security/cve/CVE-2023-6004
- RHBZ#2251110 https://bugzilla.redhat.com/show_bug.cgi?id=2251110
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/
- https://security.netapp.com/advisory/ntap-20240223-0004/
- https://www.libssh.org/security/advisories/CVE-2023-6004.txt
Provider assertions
3redhat · cna
Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3af27405fec5cb401d849937ae86b5ae580283926422c65a22566019c8fc3f68
- Ingested
- 27 Nov 2026, 02:44:12 UTC
- Source record
- Official CVE record