In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.
https://www.debian.org/security/2023/dsa-5586
https://security.gentoo.org/glsa/202312-17
https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html
https://www.cisa.gov/news-events/ics-advisories/icsa-25-162-05
https://www.cisa.gov/news-events/ics-advisories/icsa-25-044-09
https://securelist.com/exploits-and-vulnerabilities-q3-2024/114839/
https://github.com/LSP1025923/cve-2023-51385
https://github.com/harshweb-cyber/Netscout
https://github.com/Nnamdi489/vulnerability-assessment-lab
https://github.com/AbdulMoiz6692/cve-vulnerability-scanner-pro
https://github.com/RehmanAjaz/CVE-Scanner
https://github.com/asif-kabir-emon/ip-vulnerability-monitor-cve-analysis
https://github.com/runooovb/CVE-2023-51385test
https://github.com/saarcastified/CVE-2023-51385---OpenSSH-ProxyCommand-Injection-PoC
https://github.com/GroundCTL2MajorTom/CVE-2023-51385POC
https://github.com/krlabs/openssh-vulnerabilities
https://github.com/Featherw1t/CVE-2023-51385_test
https://github.com/thinkliving2020/CVE-2023-51385-
https://github.com/2048JiaLi/CVE-2023-51385
https://github.com/farliy-hacker/CVE-2023-51385-save
https://github.com/farliy-hacker/CVE-2023-51385
https://github.com/N0rther/CVE-2023-51385_TT
https://github.com/siyi-star/CVE-2023-51385_test-star-main
https://github.com/zls1793/CVE-2023-51385_test
https://www.openwall.com/lists/oss-security/2023/12/18/2
https://www.openssh.com/txt/release-9.6
https://support.apple.com/kb/HT214084
https://security.netapp.com/advisory/ntap-20240105-0005/
https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a
https://cert-portal.siemens.com/productcert/html/ssa-794697.html
https://cert-portal.siemens.com/productcert/html/ssa-769027.html
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
http://www.openwall.com/lists/oss-security/2025/10/12/1