Advisory

GO-2020-0024

Also known as: CVE-2013-10005, GHSA-gxgj-xjcw-fv9p

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.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/btcsuite/go-socks

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20130808000456-233bccbb1abe (semver)

Fixed versions

0.0.0-20130808000456-233bccbb1abe

Fix

  • Fixed version 0.0.0-20130808000456-233bccbb1abe
    go get github.com/btcsuite/[email protected]

github.com/btcsuitereleases/go-socks

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20130808000456-233bccbb1abe (semver)

Fixed versions

0.0.0-20130808000456-233bccbb1abe

Fix

  • Fixed version 0.0.0-20130808000456-233bccbb1abe
    go get github.com/btcsuitereleases/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences