Miggo Logo

CVE-2024-35185:
Denial of service of Minder Server with attacker-controlled REST endpoint

5.3

CVSS Score

Basic Information

EPSS Score
-
Published
5/16/2024
Updated
5/16/2024
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/stacklok/mindergo< 0.0.490.0.49

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from two key operations in parseBody: 1) json.NewDecoder(body).Decode() for JSON parsing and 2) io.ReadAll(body) for raw body reading. Both lacked size restrictions, allowing attackers to supply arbitrarily large responses. The patch explicitly adds a 1MB limit via io.LimitReader, confirming these were the vulnerable code paths. The function's role in processing untrusted HTTP responses makes it the clear entry point for resource exhaustion.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

T** Min**r R*ST in**st*r is vuln*r**l* to * **ni*l o* s*rvi** *tt**k vi* *n *tt**k*r-*ontroll** R*ST *n*point t**t **n *r*s* t** Min**r s*rv*r. T** R*ST in**st*r *llows us*rs to int*r**t wit* R*ST *n*points to **t** **t* *or rul* *v*lu*tion. W**n **

Reasoning

T** vuln*r**ility st*ms *rom two k*y op*r*tions in p*rs**o*y: *) json.N*w***o**r(*o*y).***o**() *or JSON p*rsin* *n* *) io.R****ll(*o*y) *or r*w *o*y r***in*. *ot* l**k** siz* r*stri*tions, *llowin* *tt**k*rs to supply *r*itr*rily l*r** r*spons*s. T*