Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/btcsuitereleases/go-socks/socks
  4. ›
  5. CVE-2013-10005

CVE-2013-10005: Loop with Unreachable Exit Condition ('Infinite Loop')

December 28, 2022 (updated January 9, 2023)

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.

References

  • github.com/advisories/GHSA-gxgj-xjcw-fv9p
  • github.com/btcsuite/go-socks/commit/233bccbb1abe02f05750f7ace66f5bffdb13defc
  • nvd.nist.gov/vuln/detail/CVE-2013-10005
  • pkg.go.dev/vuln/GO-2020-0024

Code Behaviors & Features

Detect and mitigate CVE-2013-10005 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20130808000456-233bccbb1abe

Fixed versions

  • v0.0.0-20130808000456-233bccbb1abe

Solution

Upgrade to version 0.0.0-20130808000456-233bccbb1abe or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

go/github.com/btcsuitereleases/go-socks/socks/CVE-2013-10005.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.