CVE-2024-34713 json
sshproxy vulnerable to SSH option injection
published 2024-05-14 2 y ago modified 2026-09-10 1 mo ago also GHSA-jmqp-37m5-49wh , GO-2024-2836 , EUVD-2024-1670
- cvss
- 3.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/cea-hpc/sshproxy 1.6.3
- cea-hpc sshproxy 1.6.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/cea-hpc/sshproxy | <1.6.3 |
1.6.3 |
Affected products
- cea-hpc sshproxy
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/cea-hpc/sshproxy/commit/f7eabd05d5f0f951e160293692327cad9a7d9580
web, patch
-
github.com
/cea-hpc/sshproxy/commit/3b8bccc874dc4ca2c80c956cad65722abb46f0b9
web, patch
-
github.com
/cea-hpc/sshproxy/security/advisories/GHSA-jmqp-37m5-49wh
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-34713
advisory
-
github.com
/cea-hpc/sshproxy
package
Sources
- CVE List CVE-2024-34713
- GitHub Advisory GHSA-jmqp-37m5-49wh
- NVD CVE-2024-34713
- OSV GO-2024-2836
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.