CVE-2013-10005: socks Infinite Loop vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38119%
CWE
Published
12/28/2022
Updated
2/14/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/btcsuite/go-socks | go | < 0.0.0-20130808000456-233bccbb1abe | 0.0.0-20130808000456-233bccbb1abe |
| github.com/btcsuitereleases/go-socks | go | < 0.0.0-20130808000456-233bccbb1abe | 0.0.0-20130808000456-233bccbb1abe |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The commit diff shows both methods originally contained 'return c.LocalAddr()' and 'return c.RemoteAddr()' respectively, creating direct recursion
- The patch changes these to 'c.conn.LocalAddr()' and 'c.conn.RemoteAddr()', indicating the original implementation lacked proper delegation
- CVE description explicitly names these methods as the source of infinite recursion
- GO-2020-0024 vulnerability report lists these exact unexported methods as affected symbols
- The infinite loop occurs because method calls would repeatedly invoke themselves rather than the embedded connection's implementation