Description
Allstar is a GitHub App to set and enforce security policies. In versions prior to 4.5, a vulnerability in Allstar’s Reviewbot component caused inbound webhook requests to be validated against a hard-coded, shared secret. The value used for the secret token was compiled into the Allstar binary and could not be configured at runtime. In practice, this meant that every deployment using Reviewbot would validate requests with the same secret unless the operator modified source code and rebuilt the component - an expectation that is not documented and is easy to miss. All Allstar releases prior to v4.5 that include the Reviewbot code path are affected. Deployments on v4.5 and later are not affected. Those who have not enabled or exposed the Reviewbot endpoint are not exposed to this issue.
Problem types
CWE-453: Insecure Default Variable Initialization
CWE-798: Use of Hard-coded Credentials
Product status
References
github.com/...llstar/security/advisories/GHSA-33f4-mjch-7fpr
github.com/ossf/allstar/pull/713
github.com/...ommit/e004ecb540d63ca6f5b1689b41af6c0040a82c73
github.com/...d820e4196021aa0b914/pkg/reviewbot/reviewbot.go