Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/stacklok/minder
  4. ›
  5. CVE-2024-34084

CVE-2024-34084: Minder's GitHub Webhook Handler vulnerable to DoS from un-validated requests

May 7, 2024 (updated May 10, 2024)

Minder’s HandleGithubWebhook is susceptible to a denial of service attack from an untrusted HTTP request. The vulnerability exists before the request has been validated, and as such the request is still untrusted at the point of failure. This allows an attacker with the ability to send requests to HandleGithubWebhook to crash the Minder controlplane and deny other users from using it.

One of the first things that HandleGithubWebhook does is to validate the payload signature. This is done by way of the internal helper validatePayloadSignature:

References

  • github.com/advisories/GHSA-9c5w-9q3f-3hv7
  • github.com/stacklok/minder
  • github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go
  • github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go
  • github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks.go
  • github.com/stacklok/minder/blob/ee66f6c0763212503c898cfefb65ce1450c7f5ac/internal/controlplane/handlers_githubwebhooks_test.go
  • github.com/stacklok/minder/commit/3e5a527d2f1b535159206161d1d519602c75bd0d
  • github.com/stacklok/minder/security/advisories/GHSA-9c5w-9q3f-3hv7
  • nvd.nist.gov/vuln/detail/CVE-2024-34084

Code Behaviors & Features

Detect and mitigate CVE-2024-34084 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.48

Fixed versions

  • 0.0.48

Solution

Upgrade to version 0.0.48 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/stacklok/minder/CVE-2024-34084.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.