Read the docs
TI-2013-06148 Aliases CVE-2013-10005GHSA-gxgj-xjcw-fv9p

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

VendorProductAffected versionsFixed inStatusSource
github.com/btcsuite/go-socksgithub.com/btcsuite/go-socksbefore 0.0.0-20130808000456-233bccbb1abe0.0.0-20130808000456-233bccbb1abePatch availableCNA
github.com/btcsuitereleases/go-socksgithub.com/btcsuitereleases/go-socksbefore 0.0.0-20130808000456-233bccbb1abe0.0.0-20130808000456-233bccbb1abePatch availableCNA
—github.com/btcsuite/go-socks (Go)before 0.0.0-20130808000456-233bccbb1abe0.0.0-20130808000456-233bccbb1abePatch availableGHSA-gxgj-xjcw-fv9p
—github.com/btcsuitereleases/go-socks (Go)before 0.0.0-20130808000456-233bccbb1abe0.0.0-20130808000456-233bccbb1abePatch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:socks5_project:socks5:*:*:*:*:*:go:*:*before 2013-08-07VulnerableSocks5 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

  1. 2026-10-02 Threatist record created from CVE-2013-10005
  2. 2026-10-03 Alias added: GHSA-gxgj-xjcw-fv9p

References

Sources