Vulnerability · CVE-2024-47874
Denial of service (DoS) via multipart/form-data
Published Oct 15, 2024 · catalog updated Oct 15, 2024 · Denial of service (DoS)
Last checked Nov 2, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2024-47874. EPSS is 0.65%. Act only if a listed version of Denial of service (DoS) is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Denial of service (DoS)).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- High—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.65%
- Remediation
- Version ranges on file
- Affected products
- pip starlette
### Summary Starlette treats parts without a 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. ### PoC ### Impact This Denial of service (DoS) vulnerability affects all applications built with Starlette (or FastAPI) accepting form requests.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- pip starlette<0.39.2
How to fix CVE-2024-47874
Upgrade
CVE-2024-47874 lists a fix boundary at 0.39.2. Compare the installed build with that boundary before you change production.
Version check
Affected <0.39.2
Advisory
Open the inventory_github record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2024-47874. EPSS is 0.65%. Act only if a listed version of Denial of service (DoS) is installed.
Which versions are affected?
Compare what you have installed with <0.39.2. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-770: Allocation of Resources Without Limits or Throttling. EPSS 0.65%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Oct 15, 2024 · Maintainer security tabs
Detected
### Summary Starlette treats parts without a 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 termina
Oct 15, 2024 · Maintainer security tabs
Updated
### Summary Starlette treats parts without a 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 termina
Sources
- Maintainer security tabsVendor advisoryGHSA-f96h-pmfr-66vw
### Summary Starlette treats parts without a 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 termina
github.com
Freshness
Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Maintainer security tabsNov 2, 2026