CVE-2023-6004

    Dashboard / Vulnerabilities / CVE-2023-6004

    CVE-2023-6004

    Published: 3 Jan 2024Last Modified: 28 Oct 2026

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

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- d66ea0b3b100664916cbab965e79a870e31ac7fe

    Affected versions

    libssh-0.9.7
    libssh-0.9.6
    libssh-0.9.5
    libssh-0.9.4
    libssh-0.9.3
    libssh-0.9.2
    libssh-0.9.1
    libssh-0.9.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2023-6004 | CVE-DB