CVEvulnerability
CVE-2023-32691
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-05-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- 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 configurations
• go simple tunnel project go simple tunnel (<= 2.11.5)
Related
Weakness · CWE (1)
- CWE-203 Observable Discrepancy weakness
References
- https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46 Product
- https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww Exploit, Vendor Advisory
- https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46 Product
- https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww Exploit, Vendor Advisory