{"id":"CVE-2013-10005","aliases":["EUVD-2022-7640","GHSA-gxgj-xjcw-fv9p","GO-2020-0024"],"status":"published","title":"Infinite loop in github.com/btcsuite/go-socks","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00833,"percentile":0.57912,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2021-04-14T20:04:52Z","modified":"2026-06-16T23:50:30Z","fixes":[{"ecosystem":"Go","package":"github.com/btcsuite/go-socks","fixed_in":["0.0.0-20130808000456-233bccbb1abe"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/btcsuitereleases/go-socks","fixed_in":["0.0.0-20130808000456-233bccbb1abe"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/btcsuite/go-socks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20130808000456-233bccbb1abe"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/btcsuitereleases/go-socks","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20130808000456-233bccbb1abe"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/btcsuite/go-socks","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20130808000456-233bccbb1abe"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/btcsuitereleases/go-socks","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20130808000456-233bccbb1abe"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/btcsuite/go-socks","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20130808000456-233bccbb1abe"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/btcsuitereleases/go-socks","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20130808000456-233bccbb1abe"}]}]}],"products":[{"vendor":"github.com/btcsuite/go-socks","product":"github.com/btcsuite/go-socks"},{"vendor":"github.com/btcsuitereleases/go-socks","product":"github.com/btcsuitereleases/go-socks"},{"vendor":"socks5_project","product":"socks5"}],"references":[{"url":"https://github.com/btcsuite/go-socks/commit/233bccbb1abe02f05750f7ace66f5bffdb13defc","tags":["x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0024","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-10005","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gxgj-xjcw-fv9p"},{"url":"https://github.com/btcsuite/go-socks","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-10005","title":"Infinite loop in github.com/btcsuite/go-socks","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.","status":"published","published":"2022-12-27T21:13:13.66Z","modified":"2025-04-11T22:55:40.173Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"updated_at":"2026-11-02T14:34:55.825574Z"}],"euvd":[{"id":"EUVD-2022-7640","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.","status":"published","published":"2022-12-27T21:13:13Z","modified":"2025-04-11T22:55:40Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:34.493984Z"}],"ghsa":[{"id":"GHSA-gxgj-xjcw-fv9p","title":"socks Infinite Loop vulnerability","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.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-02-14T20:45:35Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2013-10005","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.","status":"published","published":"2022-12-27T22:15:10.823Z","modified":"2026-06-16T23:50:30.67Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:02:52.934105Z"}],"osv":[{"id":"GHSA-gxgj-xjcw-fv9p","title":"socks Infinite Loop vulnerability","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.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-11-08T03:57:13.970387Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T15:46:48.546324Z"},{"id":"GO-2020-0024","title":"Infinite loop in github.com/btcsuite/go-socks","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.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
