CVE-2024-34713: sshproxy vulnerable to SSH option injection
Impact Any user authorized to connect to a ssh server using sshproxy can inject options to the ssh command executed by sshproxy. All versions of sshproxy are impacted. Patches The problem is patched starting on version 1.6.3 Workarounds The only workaround is to use the forcecommand option in sshproxy.yaml, but it's rarely relevant. References
Published May 14, 2024 · Updated Jul 8, 2024
Affected packages
github.com/cea-hpc/sshproxy
- Ecosystem
- Go
- Affected
- <= 1.6.2
- Fixed in
- 1.6.3
- Check
go list -m github.com/cea-hpc/sshproxy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Any user authorized to connect to a ssh server using sshproxy can inject options to the ssh command executed by sshproxy. All versions of sshproxy are impacted.
Patches
The problem is patched starting on version 1.6.3
Workarounds
The only workaround is to use the force_command option in sshproxy.yaml, but it's rarely relevant.
References
Credited to fdiakh.
References
- https://github.com/cea-hpc/sshproxy/security/advisories/GHSA-jmqp-37m5-49wh
- https://nvd.nist.gov/vuln/detail/CVE-2024-34713
- https://github.com/cea-hpc/sshproxy/commit/3b8bccc874dc4ca2c80c956cad65722abb46f0b9
- https://github.com/cea-hpc/sshproxy/commit/f7eabd05d5f0f951e160293692327cad9a7d9580
- https://github.com/advisories/GHSA-jmqp-37m5-49wh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
