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.
problem types: CWE 400: Uncontrolled Resource Consumption
affected:
{
vendor: github.com/btcsuite/go-socks
product: github.com/btcsuite/go-socks
collectionURL: https://pkg.go.dev
packageName: github.com/btcsuite/go-socks
versions:
version: 0, lessThan: 0.0.0-20130808000456-233bccbb1abe, status: affected, versionType: semver
programRoutines:
name: proxiedConn.LocalAddr
name: proxiedConn.RemoteAddr
defaultStatus: unaffected
}
{
vendor: github.com/btcsuitereleases/go-socks
product: github.com/btcsuitereleases/go-socks
collectionURL: https://pkg.go.dev
packageName: github.com/btcsuitereleases/go-socks
versions:
version: 0, lessThan: 0.0.0-20130808000456-233bccbb1abe, status: affected, versionType: semver
programRoutines:
name: proxiedConn.LocalAddr
name: proxiedConn.RemoteAddr
defaultStatus: unaffected
}
