VDB

CVE-2023-6004

CVE-2023-6004 PUBLISHED CVSS 4.8 MEDIUM

Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname

Reported by redhat · Published January 3, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libsshWolfi0.10.6-r0
libsshAlpine0.10.6-r0
libsshChainguard0.10.6-r0
libsshlibssh0.10.6, 0.9.8

Risk scores

CVSS 3.1
4.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 80:0.9.6-14.el8
Red HatRed Hat Enterprise Linux 80:0.9.6-14.el8
Red HatRed Hat Enterprise Linux 90:0.10.4-13.el9
Red HatRed Hat Enterprise Linux 90:0.10.4-13.el9
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 80:0.9.6-14.el8
wolfilibssh0
alpinelibssh0
chainguardlibssh0
Red HatRed Hat Enterprise Linux 90:0.10.4-13.el9
Red HatRed Hat Enterprise Linux 7

Timeline

  • Jan 3, 2024 CVE Published
  • Jan 10, 2024 EPSS Score (30 in total, the first dated here)
  • Feb 28, 2024 PoC Published
  • Oct 5, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (18 in total, the first dated here)
  • Nov 7, 2026 Distribution Patch (15 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-6004
vulnetix vdb fixes CVE-2023-6004

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-6004/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›