GO-2020-0024

Source
https://pkg.go.dev/vuln/GO-2020-0024
Import Source
https://vuln.go.dev/ID/GO-2020-0024.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0024
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2020-0024"
}
References

Affected packages

Go / github.com/btcsuite/go-socks

Package

Name
github.com/btcsuite/go-socks
View open source insights on deps.dev
Purl
pkg:golang/github.com/btcsuite/go-socks

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20130808000456-233bccbb1abe

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/btcsuite/go-socks",
            "symbols": [
                "proxiedConn.LocalAddr",
                "proxiedConn.RemoteAddr"
            ]
        }
    ]
}

Go / github.com/btcsuitereleases/go-socks

Package

Name
github.com/btcsuitereleases/go-socks
View open source insights on deps.dev
Purl
pkg:golang/github.com/btcsuitereleases/go-socks

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20130808000456-233bccbb1abe

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/btcsuitereleases/go-socks",
            "symbols": [
                "proxiedConn.LocalAddr",
                "proxiedConn.RemoteAddr"
            ]
        }
    ]
}