{"id":"GO-2024-2821","summary":"Denial of Service from untrusted requests in github.com/stacklok/minder","details":"HandleGithubWebhook is susceptible to a denial of service attack from an untrusted HTTP request. An untrusted request can cause the server to allocate large amounts of memory resulting in a denial of service.","aliases":["CVE-2024-34084","GHSA-9c5w-9q3f-3hv7"],"modified":"2024-05-20T16:03:47Z","published":"2024-05-10T20:07:31Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-2821","review_status":"REVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/stacklok/minder/security/advisories/GHSA-9c5w-9q3f-3hv7"},{"type":"FIX","url":"https://github.com/stacklok/minder/commit/3e5a527d2f1b535159206161d1d519602c75bd0d"},{"type":"WEB","url":"https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L213-L218"},{"type":"WEB","url":"https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L337-L342"},{"type":"WEB","url":"https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go#L367-L377"},{"type":"WEB","url":"https://github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks_test.go#L278-L283"}],"affected":[{"package":{"name":"github.com/stacklok/minder","ecosystem":"Go","purl":"pkg:golang/github.com/stacklok/minder"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.48"}]}],"ecosystem_specific":{"imports":[{"symbols":["Server.HandleGitHubWebHook","Server.StartHTTPServer"],"path":"github.com/stacklok/minder/internal/controlplane"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-2821.json"}}],"schema_version":"1.7.3","credits":[{"name":"@AdamKorcz and @DavidKorczynski"}]}