INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-10821

InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`

CVE-2024-10821 ยท 2025-03-20 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Denial of service
Affected
invokeai (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% chance of exploitation in 30 days

How it works, in short

Extra characters after a multipart boundary make the upload endpoint's parser loop forever, halting service for all users. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.