CVE-2023-6004
published 2024-01-03CVE-2023-6004: 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…
PriorityP422medium4.8CVSS 3.1
AVLACLPRLUIRSUCLILAL
EPSS
0.45%
36.7th percentile
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
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libssh | < libssh 0.10.6-0+deb12u1 (bookworm) | libssh 0.10.6-0+deb12u1 (bookworm) |
| fedoraproject | fedora | — | — |
| libssh | libssh | >= 0 < 0.9.8-0+deb11u1 | 0.9.8-0+deb11u1 |
| libssh | libssh | >= 0 < 0.10.6-0+deb12u1 | 0.10.6-0+deb12u1 |
| libssh | libssh | >= 0 < 0.10.6-1 | 0.10.6-1 |
| libssh | libssh | >= 0 < 0.10.6-1 | 0.10.6-1 |
| libssh | libssh | >= 0 < 0.9.3-2ubuntu2.5 | 0.9.3-2ubuntu2.5 |
| libssh | libssh | >= 0 < 0.9.6-2ubuntu0.22.04.3 | 0.9.6-2ubuntu0.22.04.3 |
| libssh | libssh | >= 0 < 0.6.3-4.3ubuntu0.6+esm1 | 0.6.3-4.3ubuntu0.6+esm1 |
| libssh | libssh | >= 0 < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 |
| libssh | libssh | >= 0.10.0 < 0.10.6 | 0.10.6 |
| libssh | libssh | >= 0.8.0 < 0.9.8 | 0.9.8 |
| msrc | azl3_libssh_0.10.5-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_libssh_0.10.6-1_on_azure_linux_3.0 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.14.8MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
osv4.8MEDIUM
vendor_debian4.8MEDIUM
vendor_msrc4.8MEDIUM
vendor_redhat4.8MEDIUM
vendor_ubuntu4.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libssh vulnerabilities
vendor_ubuntu·2024-02-05·CVSS 4.8
CVE-2023-6918 [MEDIUM] libssh vulnerabilities
Title: libssh vulnerabilities
Summary: Several security issues were fixed in libssh.
USN-6592-1 fixed vulnerabilities in libssh. This update provides the
corresponding updates for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
Instructions: In general, a standard
Ubuntu
libssh vulnerabilities
vendor_ubuntu·2024-01-22·CVSS 4.8
CVE-2023-6918 [MEDIUM] libssh vulnerabilities
Title: libssh vulnerabilities
Summary: Several security issues were fixed in libssh.
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
vendor_msrc·2024-01-09·CVSS 4.8
CVE-2023-6004 [MEDIUM] CWE-74 Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Marin
Red Hat
libssh: ProxyCommand/ProxyJump features allow injection of malicious code through hostname
vendor_redhat·2023-12-18·CVSS 4.8
CVE-2023-6004 [MEDIUM] CWE-74 libssh: ProxyCommand/ProxyJump features allow injection of malicious code through hostname
libssh: 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.
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.
Statement: Despite the potential severity of this issue, the requirement for user interaction to exploit the vulnerability has led to a low severity rating. As a
Debian
CVE-2023-6004: libssh - A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, ...
vendor_debian·2023·CVSS 4.8
CVE-2023-6004 [MEDIUM] CVE-2023-6004: libssh - A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, ...
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.
Scope: local
bookworm: resolved (fixed in 0.10.6-0+deb12u1)
bullseye: resolved (fixed in 0.9.8-0+deb11u1)
forky: resolved (fixed in 0.10.6-1)
sid: resolved (fixed in 0.10.6-1)
trixie: resolved (fixed in 0.10.6-1)
OSV
libssh vulnerabilities
osv·2024-02-05·CVSS 4.8
CVE-2023-6004 [MEDIUM] libssh vulnerabilities
libssh vulnerabilities
USN-6592-1 fixed vulnerabilities in libssh. This update provides the
corresponding updates for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
OSV
libssh vulnerabilities
osv·2024-01-22·CVSS 4.8
CVE-2023-6004 [MEDIUM] libssh vulnerabilities
libssh vulnerabilities
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
GHSA
GHSA-f35j-mfvw-p857: A flaw was found in libssh
ghsa_unreviewed·2024-01-03
CVE-2023-6004 [LOW] CWE-74 GHSA-f35j-mfvw-p857: A flaw was found in libssh
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.
OSV
CVE-2023-6004: A flaw was found in libssh
osv·2024-01-03·CVSS 4.8
CVE-2023-6004 [MEDIUM] CVE-2023-6004: A flaw was found in libssh
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.
No detection rules found.
No public exploits indexed.
https://access.redhat.com/errata/RHSA-2024:2504https://access.redhat.com/errata/RHSA-2024:3233https://access.redhat.com/security/cve/CVE-2023-6004https://bugzilla.redhat.com/show_bug.cgi?id=2251110https://www.libssh.org/security/advisories/CVE-2023-6004.txthttps://access.redhat.com/errata/RHSA-2024:2504https://access.redhat.com/errata/RHSA-2024:3233https://access.redhat.com/security/cve/CVE-2023-6004https://bugzilla.redhat.com/show_bug.cgi?id=2251110https://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
2024-01-03
Published