Go Vulnerability Database
GO-2020-0024
Infinite loop in github.com/btcsuite/go-socks
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/btcsuite/go-socks | All versions before 0.0.0-20130808000456-233bccbb1abe (fixed in 0.0.0-20130808000456-233bccbb1abe) |
| Go | github.com/btcsuitereleases/go-socks | All versions before 0.0.0-20130808000456-233bccbb1abe (fixed in 0.0.0-20130808000456-233bccbb1abe) |