CVE-2023-32691
MEDIUM 5.9CVSS 3.1ginuerzh/gost vulnerable to Timing Attack
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.
- Published
- 30 May 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-203
- Also known as
- GHSA-qjrq-hm79-49ww
- Sources
- NVDJSONOSV GHSA-qjrq-hm79-49wwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go_simple_tunnel_project | go_simple_tunnelcpe:2.3:a:go_simple_tunnel_project:go_simple_tunnel:*:*:*:*:*:go:*:* |
<= 2.11.5 | |
| OSV | Go | github.com/ginuerzh/gost | <= 2.11.5 |
References
- https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46 · Product, WEB
- https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-32691 · ADVISORY
- https://github.com/ginuerzh/gost · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 30 May 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2023)