Back to list

slack-go `SecretsVerifier` accepts empty signing secret without precondition — GHSA-GXHX-2686-5H9G

GHSA · GitHub · GHSA-GXHX-2686-5H9G

ID
GHSA-GXHX-2686-5H9G
Date
Activity
Source
GHSA
Vendor
GitHub
Threat
medium
CVSS
4.8

Summary

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

Product

go: github.com/slack-go/slack

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories