Minder trusts client-provided mapping from repo name to upstream ID
Description
Minder is a Software Supply Chain Security Platform. In version 0.0.31 and earlier, it is possible for an attacker to register a repository with a invalid or differing upstream ID, which causes Minder to report the repository as registered, but not remediate any future changes which conflict with policy (because the webhooks for the repo do not match any known repository in the database). When attempting to register a repo with a different repo ID, the registered provider must have admin on the named repo, or a 404 error will result. Similarly, if the stored provider token does not have repo access, then the remediations will not apply successfully. Lastly, it appears that reconciliation actions do not execute against repos with this type of mismatch. This appears to primarily be a potential denial-of-service vulnerability. This vulnerability is patched in version 0.20240226.1425+ref.53868a8.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/stacklok/minderGo | < 0.20240226.1425 | 0.20240226.1425 |
Affected products
1Patches
153868a878e93Fix client crash with fix for GHSA-q6h8-4j2v-pjg4 (#2432)
1 file changed · +6 −0
internal/controlplane/handlers_githubwebhooks.go+6 −0 modified@@ -236,6 +236,12 @@ func (s *Server) registerWebhookForRepository( secret := s.cfg.WebhookConfig.WebhookSecret regResult := &pb.RegisterRepoResult{ + // We will overwrite this later when we've looked it up from the provider, + // but existing clients expect a message here, so let's add one. + Repository: &pb.Repository{ + Name: repo.Name, // Not normalized, from client + Owner: repo.Owner, // Not normalized, from client + }, Status: &pb.RegisterRepoResult_Status{ Success: false, },
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-q6h8-4j2v-pjg4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-27093ghsaADVISORY
- github.com/stacklok/minder/commit/53868a878e93f29c43437f96dbc990b548e48d1dghsax_refsource_MISCWEB
- github.com/stacklok/minder/security/advisories/GHSA-q6h8-4j2v-pjg4ghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2024-2582ghsaWEB
News mentions
0No linked articles in our index yet.