{"id":"CVE-2023-32691","state":"PUBLISHED","title":"ginuerzh/gost vulnerable to Timing Attack","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`. \n","publishedAt":"2023-05-30T03:06:06.080Z","updatedAt":"2025-01-10T20:45:20.000Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["ginuerzh gost"],"affected":[{"vendor":"ginuerzh","product":"gost","versions":[{"version":"<= 2.11.5","status":"affected"}]}],"references":["https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww","https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46"],"weaknesses":["CWE-203"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/32xxx/CVE-2023-32691.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-32691","state":"PUBLISHED","datePublished":"2023-05-30T03:06:06.080Z","dateUpdated":"2025-01-10T20:45:20.000Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-05-11T16:33:45.732Z"},"containers":{"cna":{"title":"ginuerzh/gost vulnerable to Timing Attack","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"ginuerzh","product":"gost","versions":[{"version":"<= 2.11.5","status":"affected"}]}],"references":[{"url":"https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww","name":"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","name":"https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-203","lang":"en","description":"CWE-203: Observable Discrepancy","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-05-30T03:06:06.080Z"},"source":{"advisory":"GHSA-qjrq-hm79-49ww","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww","name":"https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46","name":"https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T15:25:37.019Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-10T20:45:08.537390Z","id":"CVE-2023-32691","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-10T20:45:20.000Z"}}]}}}