invoke-ai/invokeai · Security
InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`
- GHSA ID
- GHSA-6f6x-f56q-5xgv
- CVE ID
- CVE-2024-10821
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
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.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
- CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')