What’s Vulnerable › Vulnerabilities
CVE-2023-32691: ginuerzh/gost vulnerable to Timing Attack
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-05-30 · updated 2026-06-17
- Weakness: CWE-203
Description
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 Project Go Simple Tunnel: through 2.11.5
References
- https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46
- https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww
- https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46
- https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww
Get alerted when CVE-2023-32691 or the next vulnerability affects your stack