What’s Vulnerable › Vulnerabilities
CVE-2013-10005: Infinite loop in github.com/btcsuite/go-socks
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-27 · updated 2026-06-16
- Weakness: CWE-835
Description
The RemoteAddr and LocalAddr methods on the returned net.Conn may call themselves, leading to an infinite loop which will crash the program due to a stack overflow.
Affected products
- Socks5 Project Socks5: before 2013-08-07 — fixed in 2013-08-07
How to fix
Upgrade to a fixed version: Socks5 Project Socks5 2013-08-07. Check the vendor advisory for mitigations.
References
- https://github.com/btcsuite/go-socks/commit/233bccbb1abe02f05750f7ace66f5bffdb13defc
- https://pkg.go.dev/vuln/GO-2020-0024
- https://github.com/btcsuite/go-socks/commit/233bccbb1abe02f05750f7ace66f5bffdb13defc
- https://pkg.go.dev/vuln/GO-2020-0024
Get alerted when CVE-2013-10005 or the next vulnerability affects your stack