CVE-2023-6004 MEDIUM

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

Vendor Red Hat
Product Red Hat Enterprise Linux 7
Weakness CWE-74
Published January 3, 2024
Last update November 7, 2025

CVSS base score

4.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 3, 2024 CVE published
November 7, 2025 Record updated