Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. InvokeAI
  4. ›
  5. CVE-2024-10821

CVE-2024-10821: InvokeAI has Denial of Service (DoS) vulnerability in `/api/v1/images/upload`

March 20, 2025 (updated March 21, 2025)

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

  • github.com/advisories/GHSA-6f6x-f56q-5xgv
  • github.com/invoke-ai/InvokeAI
  • github.com/invoke-ai/InvokeAI/blob/807f458f13e7693ada2fb929c2d513950611fe9c/invokeai/app/api/routers/images.py
  • huntr.com/bounties/0ac24835-c4c0-4f11-938a-d5641dfb80b2
  • nvd.nist.gov/vuln/detail/CVE-2024-10821

Code Behaviors & Features

Detect and mitigate CVE-2024-10821 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/InvokeAI/CVE-2024-10821.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:15:11 +0000.