CVE-2023-32691
Go Simple Tunnel Project Go Simple Tunnel vulnerability
gost (GO Simple Tunnel) is a simple tunnel written in golang. Sensitive secrets such as passwords, token and API keys should be compared only using a constant-time comparison function. Untrusted input, sourced from a HTTP header, is compared directly with a secret. Since this comparison is not secure, an attacker can mount a side-channel timing attack to guess the password. As a workaround, this can be easily fixed using a constant time comparing function such as `crypto/subtle`'s `ConstantTimeCompare`.
Affected products
Go Simple Tunnel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Go Simple Tunnel Project Go Simple Tunnel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww · Exploit
- github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46
- nvd.nist.gov/vuln/detail/CVE-2023-32691
- github.com/advisories/GHSA-qjrq-hm79-49ww
- nvd.nist.gov/vuln/detail/CVE-2023-32691
- cve.org/CVERecord?id=CVE-2023-32691
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.