CVE-2023-6004: Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname
Vulnerability summary
CVE-2023-6004 is a medium (CVSS 4.8) vulnerability in fedoraproject fedora. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 49.8% of scored vulnerabilities.
Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 8Timeline
- 03-01-2024PublishedVulnerability first disclosed.
- 27-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- NVDNIST4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- OSV · AlpineEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
Increase +0.14 pp
From 0.45% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- libssh≥ 0.8.0, < 0.10.6-r0 | ≥ 0.10.0, < 0.10.6-r0
Chainguard1 product
- libssh< 0.10.6-r0
Debian1 product
- libssh< 0.10.6-0+deb12u1 | < 0.10.6-1
Fedoraproject1 product
- fedoraEOL38
Libssh1 product
- libssh≥ 0.8.0, < 0.9.8 | ≥ 0.10.0, < 0.10.6
Redhat1 product
- enterprise_linux8.0 | 9.0
Ubuntu1 product
- libssh< 0.6.3-4.3ubuntu0.6+esm1 | < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | < 0.9.3-2ubuntu2.5 | < 0.9.6-2ubuntu0.22.04.3
Wolfi1 product
- libssh< 0.10.6-r0
8 vendors · 8 products