3.5low
sshproxy vulnerable to SSH option injection
- Severity
- 3.5low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.56% (higher than 40% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jmqp-37m5-49whGO-2024-2836
Description
sshproxy is used on a gateway to transparently proxy a user SSH connection on the gateway to an internal host via SSH. Prior to version 1.6.3, 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. The problem is patched starting in version 1.6.3. The only workaround is to use the `force_command` option in `sshproxy.yaml`, but it's rarely relevant.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cea-hpc sshproxy | < 1.6.3, before 1.6.3 | CVE List |
| github.com/cea-hpc/sshproxy (Go) | before 1.6.3 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 3.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
sshproxy is used on a gateway to transparently proxy a user SSH connection on the gateway to an internal host via SSH. Prior to version 1.6.3, 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. The problem is patched starting in version 1.6.3. The only workaround is to use the `force_command` option in `sshproxy.yaml`, but it's rarely relevant.
GitHub Advisory Database
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
Go Vulnerability Database
sshproxy vulnerable to SSH option injection in github.com/cea-hpc/sshproxy
NVD (es)
sshproxy se utiliza en una puerta de enlace para representar de forma transparente una conexión SSH de usuario en la puerta de enlace a un host interno a través de SSH. Antes de la versión 1.6.3, cualquier usuario autorizado para conectarse a un servidor ssh usando `sshproxy` podía inyectar opciones al comando `ssh` ejecutado por `sshproxy`. Todas las versiones de `sshproxy` se ven afectadas. El problema se solucionó a partir de la versión 1.6.3. La única solución es utilizar la opción `force_command` en `sshproxy.yaml`, pero rara vez es relevante.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-34713 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jmqp-37m5-49wh changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-2836 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-34713 changed 2026-06-17 | Public domain |