Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-32691 EUVD-2023-1611GHSA-qjrq-hm79-49ww

ginuerzh/gost vulnerable to Timing Attack

Published May 30, 2023 · Updated Jan 10, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
ginuerzh gost <= 2.11.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/ginuerzh/gost <= 2.11.5 — GHSA-qjrq-hm79-49ww

References