CVE-2024-35175tg123 sshpiper
Medium 5.3 No auth needed
Follow: this CVE · tg123 · tg123 sshpiper We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 21
- Auth required
- No
- Published
- May 14, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
sshpiper is a reverse proxy for sshd. Starting in version 1.0.50 and prior to version 1.3.0, the way the proxy protocol listener is implemented in sshpiper can allow an attacker to forge their connecting address. Commit 2ddd69876a1e1119059debc59fe869cb4e754430 added the proxy protocol listener as the only listener in sshpiper, with no option to toggle this functionality off. This means that any connection that sshpiper is directly (or in some cases indirectly) exposed to can use proxy protocol to forge its source address. Any users of sshpiper who need logs from it for whitelisting/rate limiting/security investigations could have them become much less useful if an attacker is sending a spoofed source address. Version 1.3.0 contains a patch for the issue.
What to do
- Apply the vendor's security update for sshpiper.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/tg123/sshpiper |
≥ 1.0.50 < 1.3.0 |
1.3.0 |
go get github.com/tg123/sshpiper@v1.3.0 |
| Go | github.com/tg123/sshpiper |
≥ 1.0.50 < 1.3.0 |
1.3.0 |
go get github.com/tg123/sshpiper@v1.3.0 |
Per OSV / GitHub Advisories (GHSA-4w53-6jvp-gg52, GO-2024-2853). Check the version in your lockfile before upgrading.
Affected products
- tg123 · sshpiper
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.