InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`
Date: 2025-03
Affected: pip/InvokeAI
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-10821
CWE: CWE-400
CWE-835
CVSS: 7.5 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

A Denial of Service (DoS) vulnerability in the multipart request boundary processing mechanism of the Invoke-AI server (version v5.0.1) allows unauthenticated attackers to cause excessive resource consumption. The server fails to handle excessive characters appended to the end of multipart boundaries, leading to an infinite loop and a complete denial of service for all users. The affected endpoint is `/api/v1/images/upload`.


Mitigations:

Architectural layers (MAESTRO):