CVE-2024-35175
MEDIUM 5.3CVSS 3.1sshpiper's enabling of proxy protocol without proper feature flagging allows faking source address
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.
- Published
- 14 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-345
- Also known as
- GHSA-4w53-6jvp-gg52GO-2024-2853
- Sources
- NVDJSONOSV GHSA-4w53-6jvp-gg52JSONOSV GO-2024-2853JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/tg123/sshpiper | >= 1.0.50, < 1.3.0 | 1.3.0 |
References
- https://github.com/tg123/sshpiper/commit/2ddd69876a1e1119059debc59fe869cb4e754430 · WEB, FIX
- https://github.com/tg123/sshpiper/commit/70fb830dca26bea7ced772ce5d834a3e88ae7f53 · WEB, FIX
- https://github.com/tg123/sshpiper/security/advisories/GHSA-4w53-6jvp-gg52 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-35175 · ADVISORY
- https://github.com/tg123/sshpiper · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2024)