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.
https://www.libssh.org/security/advisories/CVE-2023-6004.txt
https://bugzilla.redhat.com/show_bug.cgi?id=2251110
https://access.redhat.com/security/cve/CVE-2023-6004