GHSA-gxhx-2686-5h9g
Dashboard / Vulnerabilities / GHSA-gxhx-2686-5h9g
Summary: slack-go `SecretsVerifier` accepts empty signing secret without precondition
Details: `SecretsVerifier` in slack-go/slack before v0.23.1 accepts an empty signing secret without error. If an application is misconfigured (e.g., an unset or empty `SLACK_SIGNING_SECRET`), `NewSecretsVerifier` builds an HMAC-SHA256 keyed with an empty string, allowing an unauthenticated attacker to forge a valid `X-Slack-Signature` and bypass Slack request authentication. Fixed in v0.23.1, which rejects empty secrets with `ErrInvalidConfiguration`. This is patched in version 0.23.1.
References: https://github.com/slack-go/slack/security/advisories/GHSA-gxhx-2686-5h9g, https://github.com/slack-go/slack/commit/34ad5c052e446f58505ae8d81a2a72821de107cc, https://github.com/slack-go/slack, https://github.com/slack-go/slack/releases/tag/v0.23.1
Affected packages
Package
Name: github.com/slack-go/slack
Purl: pkg:golang/github.com/slack-go/slack
Affected ranges
Type: SEMVER
Events:
