Security mailing lists by PureSourceCode

CVE-2023-6004

MEDIUM 4.8CVSS 3.1

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.

Published
3 Jan 2024
Last modified
27 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-74
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
CVE List redhat CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.8.0, < 0.9.8 0.9.8
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.10.0, < 0.10.6 0.10.6
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-monitor-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-must-gather-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-operator-bundle
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-podvm-builder-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-podvm-payload-rhel9
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift-sandboxed-containers/osc-rhel9-operator
cpe:/a:redhat:openshift_sandboxed_containers:1.6.0::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/a:redhat:enterprise_linux:8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ libssh
cpe:/o:redhat:rhel_els:7

References

History

  • 27 Nov 2026 04:51 UTC · NVD: 1 reference added
  • 27 Nov 2026 02:49 UTC · CVE List: first stored (published 3 Jan 2024)
  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.