Read the docs
TI-2023-05531 Aliases CVE-2023-6004GHSA-f35j-mfvw-p857

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

Priority LOW 24CWE-74Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 4 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00449 39th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 4 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Enterprise Linux 8—0.9.6-14.el8Patch availableCNA
Red HatRed Hat Enterprise Linux 8—0.9.6-14.el8Patch availableCNA
Red HatRed Hat Enterprise Linux 9—0.10.4-13.el9Patch availableCNA
Red HatRed Hat Enterprise Linux 9—0.10.4-13.el9Patch availableCNA
Red HatRed Hat Enterprise Linux 7——No fix listedCNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 0.9.6-14.el8 Patch available CNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 0.9.6-14.el8 Patch available CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 0.10.4-13.el9 Patch available CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 0.10.4-13.el9 Patch available CNA
  • Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*0.8.0 to before 0.9.8; 0.10.0 to before 0.10.6Vulnerablelibssh
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*38VulnerableFedoraproject
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*9.0VulnerableRed Hat
  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* Versions 0.8.0 to before 0.9.8; 0.10.0 to before 0.10.6 Vulnerable ·libssh
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
  • cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat

Remediation

Red Hat 2 advisories

  • RHSA-2024:3233 Released 2024-05-22 · Red Hat rating Low
    libssh security update
    • Red Hat Enterprise Linux AppStream (v. 8) libssh-devel-0.9.6-14.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) libssh-0.9.6-14.el8, libssh-config-0.9.6-14.el8
  • RHSA-2024:2504 Released 2024-04-30 · Red Hat rating Low
    libssh security update
    • Red Hat Enterprise Linux AppStream (v. 9) libssh-devel-0.10.4-13.el9
    • Red Hat Enterprise Linux BaseOS (v. 9) libssh-0.10.4-13.el9, libssh-config-0.10.4-13.el9

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2024:3233
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2024:2504
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2024:3233
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2024:2504

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-6004
  2. 2026-10-03 Alias added: GHSA-f35j-mfvw-p857

References

  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
  • TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
See all 1955 →

Sources