CVE-2024-47874
Last modified
CVE-2024-47874 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0, Starlette treats `multipart/form-data` parts without a `filename` as text form fields and buffers those in byte strings with no size limit. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
Description
Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0, Starlette treats `multipart/form-data` parts without a `filename` as text form fields and buffers those in byte strings with no size limit. This allows an attacker to upload arbitrary large form fields and cause Starlette to both slow down significantly due to excessive memory allocations and copy operations, and also consume more and more memory until the server starts swapping and grinds to a halt, or the OS terminates the server process with an OOM error. Uploading multiple such requests in parallel may be enough to render a service practically unusable, even if reasonable request size limits are enforced by a reverse proxy in front of Starlette. This Denial of service (DoS) vulnerability affects all applications built with Starlette (or FastAPI) accepting form requests. Verison 0.40.0 fixes this issue.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-47874?
How severe is CVE-2024-47874?
How do I fix CVE-2024-47874?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-47869Gradio is an open-source Python package designed for quick p…3.7
- CVE-2024-4787The Cost Calculator Builder PRO for WordPress is vulnerable …5.8
- CVE-2024-47870Gradio is an open-source Python package designed for quick p…8.1
- CVE-2024-47871Gradio is an open-source Python package designed for quick p…9.1
- CVE-2024-47872Gradio is an open-source Python package designed for quick p…5.4
- CVE-2024-47873PhpSpreadsheet is a PHP library for reading and writing spre…7.5
- CVE-2024-47875DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanit…6.1
- CVE-2024-47876Sakai is a Collaboration and Learning Environment. Starting …8.8
- CVE-2024-47877Extract is aA Go library to extract archives in zip, tar.gz …7.5
- CVE-2024-47878OpenRefine is a free, open source tool for working with mess…6.1
- CVE-2024-47879OpenRefine is a free, open source tool for working with mess…8.8
- CVE-2024-4788The Boostify Header Footer Builder for Elementor plugin for …4.3
Are you affected by CVE-2024-47874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
