GHSA-gxhx-2686-5h9g slack-go `SecretsVerifier` accepts empty signing secret without precondition
MediumCVSS 4.8
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| slack-go github.com/slack-go/slack(Go) | < 0.23.1 | 0.23.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| slack-go github.com/slack-go/slack(Go) | < 0.23.1 | 0.23.1 |
References
- github.com vendor-advisory
- github.com patch
- github.com product
- github.com
- github.com