PT-2024-25695 · Minder · Minder

Adamkorcz

·

Published

2024-05-07

·

Updated

2024-05-10

·

CVE-2024-34084

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Minder versions prior to 0.0.48
Description 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. The issue arises because the validatePayloadSignature function generates a reader from the incoming request, which can lead to memory exhaustion if the request body is large.
Recommendations For versions prior to 0.0.48, update to version 0.0.48 to fix the vulnerability. As a temporary workaround, consider restricting access to the HandleGithubWebhook endpoint to minimize the risk of exploitation. Avoid using the readerFromRequest function with untrusted requests until the issue is resolved.

Exploit

Fix

Resource Exhaustion

Weakness Enumeration

Related Identifiers

CVE-2024-34084
GHSA-9C5W-9Q3F-3HV7
GO-2024-2821

Affected Products

Minder