Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/slack-go/slack
  4. ›
  5. GHSA-gxhx-2686-5h9g

GHSA-gxhx-2686-5h9g: slack-go `SecretsVerifier` accepts empty signing secret without precondition

May 14, 2026

func NewSecretsVerifier(header http.Header, secret string) (SecretsVerifier, error) {
hash := hmac.New(sha256.New, []byte(secret))    // raw secret, no precondition
}

References

  • github.com/advisories/GHSA-gxhx-2686-5h9g
  • github.com/slack-go/slack/releases/tag/v0.23.1
  • github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g

Code Behaviors & Features

Detect and mitigate GHSA-gxhx-2686-5h9g with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.23.1

Fixed versions

  • 0.23.1

Solution

Upgrade to version 0.23.1 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1391: Use of Weak Credentials
  • CWE-287: Improper Authentication
  • CWE-326: Inadequate Encryption Strength

Source file

go/github.com/slack-go/slack/GHSA-gxhx-2686-5h9g.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:44 +0000.