Infinite loop in github.com/btcsuite/go-socks
Priority MEDIUM 40CWE-835Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-835.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00833 57th percentileScored 2026-11-07
Fix Fixed github.com/btcsuite/go-socks (github.com/btcsuite/go-socks): 0.0.0-20130808000456-233bccbb1abegithub.com/btcsuitereleases/go-socks (github.com/btcsuitereleases/go-socks): 0.0.0-20130808000456-233bccbb1abe+2 more products
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| github.com/btcsuite/go-socks | github.com/btcsuite/go-socks | before 0.0.0-20130808000456-233bccbb1abe | 0.0.0-20130808000456-233bccbb1abe | Patch available | CNA |
| github.com/btcsuitereleases/go-socks | github.com/btcsuitereleases/go-socks | before 0.0.0-20130808000456-233bccbb1abe | 0.0.0-20130808000456-233bccbb1abe | Patch available | CNA |
| — | github.com/btcsuite/go-socks (Go) | before 0.0.0-20130808000456-233bccbb1abe | 0.0.0-20130808000456-233bccbb1abe | Patch available | GHSA-gxgj-xjcw-fv9p |
| — | github.com/btcsuitereleases/go-socks (Go) | before 0.0.0-20130808000456-233bccbb1abe | 0.0.0-20130808000456-233bccbb1abe | Patch available | GHSA-gxgj-xjcw-fv9p |
- github.com/btcsuite/go-socks Vendorgithub.com/btcsuite/go-socks Affected before 0.0.0-20130808000456-233bccbb1abe Fixed in 0.0.0-20130808000456-233bccbb1abe Patch available CNA
- github.com/btcsuitereleases/go-socks Vendorgithub.com/btcsuitereleases/go-socks Affected before 0.0.0-20130808000456-233bccbb1abe Fixed in 0.0.0-20130808000456-233bccbb1abe Patch available CNA
- github.com/btcsuite/go-socks (Go) Vendor— Affected before 0.0.0-20130808000456-233bccbb1abe Fixed in 0.0.0-20130808000456-233bccbb1abe Patch available GHSA-gxgj-xjcw-fv9p
- github.com/btcsuitereleases/go-socks (Go) Vendor— Affected before 0.0.0-20130808000456-233bccbb1abe Fixed in 0.0.0-20130808000456-233bccbb1abe Patch available GHSA-gxgj-xjcw-fv9p
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:socks5_project:socks5:*:*:*:*:*:go:*:* | before 2013-08-07 | Vulnerable | Socks5 Project |
- cpe:2.3:a:socks5_project:socks5:*:*:*:*:*:go:*:* Versions before 2013-08-07 Vulnerable ·Socks5 Project
Remediation
- Fix · CNA github.com/btcsuite/go-socks (github.com/btcsuite/go-socks) Fixed in 0.0.0-20130808000456-233bccbb1abe
- Fix · CNA github.com/btcsuitereleases/go-socks (github.com/btcsuitereleases/go-socks) Fixed in 0.0.0-20130808000456-233bccbb1abe
- Fix · GHSA-gxgj-xjcw-fv9p github.com/btcsuite/go-socks (Go) Fixed in 0.0.0-20130808000456-233bccbb1abe Advisory →
- Fix · GHSA-gxgj-xjcw-fv9p github.com/btcsuitereleases/go-socks (Go) Fixed in 0.0.0-20130808000456-233bccbb1abe Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2013-10005
- 2026-10-03 Alias added: GHSA-gxgj-xjcw-fv9p
References
Sources
- CVE-2013-10005 · CVE Program
- CVE-2013-10005 · NVD
- FIRST EPSS
- GHSA-gxgj-xjcw-fv9p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences