CVE-2024-10821: InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.14729%
CWE
Published
3/20/2025
Updated
3/21/2025
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| InvokeAI | pip |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in the /api/v1/images/upload endpoint handled by upload_image. While the exact multipart parsing occurs in framework internals (python-multipart), the entry point for this attack surface is the upload_image function. The advisory directly references this code location (line 29 of images.py), and the function's lack of boundary validation/error handling makes it the vulnerable entry point for malformed multipart requests that trigger excessive resource consumption.