Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/ginuerzh/gost: CVE-2023-32691 #1798

Closed
GoVulnBot opened this issue May 30, 2023 · 1 comment
Closed
Assignees

Comments

@GoVulnBot
Copy link

CVE-2023-32691 references github.com/ginuerzh/gost, which may be a Go module.

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.

References:

Cross references:
No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: github.com/ginuerzh/gost
    packages:
      - package: gost
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\n"
cves:
  - CVE-2023-32691
references:
  - advisory: https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww
  - web: https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46

@tatianab tatianab self-assigned this May 31, 2023
@tatianab
Copy link
Contributor

Duplicate of #1784

@tatianab tatianab marked this as a duplicate of #1784 Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants