{"id":"CVE-2023-32691","published":"2023-05-30T03:06:06Z","modified":"2025-01-10T20:45:20Z","title":"ginuerzh/gost vulnerable to Timing Attack","vendor":"ginuerzh","product":"gost","tier":"tail","description":{"text":"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`. \n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00574,"percentile":0.48283,"provenance":"source"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"references":[{"url":"https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":9.66},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"ginuerzh","affectedVersions":[{"vendor":"ginuerzh","product":"gost","versions":["<= 2.11.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-10T20:45:08.537390Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ginuerzh/gost","vulnerableRanges":["<=2.11.5"],"patched":[],"from":["GHSA-qjrq-hm79-49ww"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-1611","exploited":false,"provenance":"source"}}