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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libssh | 0.10.6-1 | — |
| Debian 13 | libssh | 0.10.6-1 | — |
| Debian 12 | libssh | 0.10.6-0+deb12u1 | DSA-5591-1 |
| Debian 11 | libssh | 0.9.8-0+deb11u1 | DSA-5591-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libssh | 0.9.6-2ubuntu0.22.04.3 | USN-6592-1 |
| Ubuntu 20.04 LTS | libssh | 0.9.3-2ubuntu2.5 | USN-6592-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libssh | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | USN-6592-2 |
| Ubuntu Pro 16.04 LTS | libssh | 0.6.3-4.3ubuntu0.6+esm1 | USN-6592-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libssh +2 | 0.10.4-13.el9 | RHSA-2024:2504 |
| RHEL 8 | libssh +2 | 0.9.6-14.el8 | RHSA-2024:3233 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libssh +2 | 0.10.4-13.el9 | ALSA-2024:2504 |
| AlmaLinux 8 | libssh +2 | 0.9.6-14.el8 | ALSA-2024:3233 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | libssh | 0.10.4-13.el9 | RLSA-2024:2504 |
| Rocky Linux 8 | libssh | 0.9.6-14.el8 | RLSA-2024:3233 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLES 15 SP4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLES 15 SP3 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLES 15 SP2 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLES 12 SP5 | libssh | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLES for SAP 15 SP3 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLES for SAP 15 SP2 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLES for SAP 12 SP5 | libssh | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SLE Real Time 15 SP4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLE Micro 5.5 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLE Micro 5.4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLE Micro 5.3 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLE Micro 5.2 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLE Micro 5.1 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLE HPC 15 SP4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SLE HPC 15 SP3 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SLE HPC 15 SP2 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE Manager Server 4.3 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SUSE Manager Proxy 4.3 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SUSE Enterprise Storage 7.1 | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libssh | 0.10.6-1.1 | openSUSE-SU-2024:13638-1 |
| openSUSE Leap 15.5 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| openSUSE Leap Micro 5.3 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libssh | 0.10.6-r0 | — |
| Alpine v3.23 | libssh | 0.10.6-r0 | — |
| Alpine v3.22 | libssh | 0.10.6-r0 | — |
| Alpine v3.21 | libssh | 0.10.6-r0 | — |
| Alpine v3.20 | libssh | 0.10.6-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libssh | 0.10.6-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libssh | 0.10.6-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libssh +2 | 0.10.4-13.el9 | ELSA-2024-2504 |
| Oracle Linux 8 | libssh +2 | 0.9.6-14.el8 | ELSA-2024-3233 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | libssh | 0.10.6-r0 | — |
Advisories 19
- ALSA-2024:2504 Low: libssh security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:3233 Low: libssh security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:2504 Red Hat Security Advisory: libssh security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2024:3233 Red Hat Security Advisory: libssh security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-6592-2 libssh vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-6592-1 libssh vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5591-1 libssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2024:3233 Low: libssh security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2024:0140-1 Security update for libssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0539-1 Security update for libssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0525-1 Security update for libssh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13638-1 libssh-config-0.10.6-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- RLSA-2024:2504 Low: libssh security update Rocky Linux Security Advisories · Oct 7, 2025
- WID-SEC-2023-3175 libssh: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2025
- VDE-2024-073 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · May 22, 2025
- WID-SEC-2024-1307 Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- ELSA-2024-3233 Low: libssh security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 23, 2024
- ELSA-2024-2504 Low: libssh security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 2, 2024
References
- RHSA-2024:2504 vendor-advisory
- RHSA-2024:3233 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-6004 vdb-entry
- RHBZ#2251110 issue-tracking
- https://www.libssh.org/security/advisories/CVE-2023-6004.txt