GitHub Advisoryadvisory · Go

GHSA-gxgj-xjcw-fv9p socks Infinite Loop vulnerability

HIGH Published 2022-12-28 Modified 2023-01-09 Official page ↗
Aliases
CVE-2013-10005
Ecosystem
Go
Packages
github.com/btcsuite/go-socks, github.com/btcsuitereleases/go-socks
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-835
Reviewed
2023-01-09

Affected packages

• Go github.com/btcsuite/go-socks: < 0.0.0-20130808000456-233bccbb1abe → fixed in 0.0.0-20130808000456-233bccbb1abe • Go github.com/btcsuitereleases/go-socks: < 0.0.0-20130808000456-233bccbb1abe → fixed in 0.0.0-20130808000456-233bccbb1abe

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.

Related

Alias · CVE (1)

  • CVE-2013-10005 The RemoteAddr and LocalAddr methods on the returned net.Conn may call themselves, leading to an infinite loop which will crash the program… vulnerability

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References