4.8

CVE-2023-6004: Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname

Modified
AliasesUBUNTU-CVE-2023-6004DEBIAN-CVE-2023-6004CGA-f2q7-9hc5-4rp7
Published 03-01-2024Last modified 27-11-2026

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.

Priority
Routine

Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.59%
0%100%
Low · +0.14 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 8

Timeline

  1. 03-01-2024
    PublishedVulnerability first disclosed.
  2. 27-11-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Libssh1 product
  • libssh≥ 0.8.0, < 0.9.8 | ≥ 0.10.0, < 0.10.6
Redhat1 product
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

References

19 links
Show all 19 references