CVE-2024-34713
JSON

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 packageVersionsReported by
cea-hpc sshproxy< 1.6.3, before 1.6.3CVE List
github.com/cea-hpc/sshproxy (Go)before 1.6.3GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M3.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
GitHub3.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N

Classification

CWE-77

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

SourceRecordLicence
CVE ListCVE-2024-34713 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-jmqp-37m5-49wh changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2836 changed 2026-03-03CC-BY-4.0
NVDCVE-2024-34713 changed 2026-06-17Public domain