{"id":"CVE-2024-47874","title":"starlette: Starlette Denial of service (DoS) via multipart/form-data (CVE-2024-47874)","summary":"A flaw was found in Starlette. Starlette treats multipart/form-data parts without a filename as text form fields and buffers those in byte strings with no size limit. This flaw allows an attacker to upload arbitrary large form fields and c…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":"CWE-770","vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI)","affected":["openshift_lightspeed","enterprise_linux_ai_rhel_ai"],"patched":["starlette 0.40.0"],"published":"2024-10-15","updated":"2026-10-15","sourceUpdated":"2026-10-15T11:08:24+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-47874.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-47874.json"},{"url":"https://access.redhat.com/security/cve/CVE-2024-47874"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318801"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-47874"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47874"},{"url":"https://github.com/encode/starlette/commit/fd038f3070c302bff17ef7d173dbb0b007617733"},{"url":"https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw"},{"url":"https://github.com/encode/starlette"}],"tags":["csaf","vex","red-hat","osv","pip","score-dispute"],"epss":0.00653,"epssPercentile":0.5109,"aliases":["GHSA-f96h-pmfr-66vw","PYSEC-2026-1943"],"ecosystem":"pip","scores":{"vendor":7.5,"osv":0},"ingestedAt":"2026-07-08T18:25:48.852Z","slug":"CVE-2024-47874","body":"## Overview\n\nA flaw was found in Starlette. Starlette treats multipart/form-data parts without a filename as text form fields and buffers those in byte strings with no size limit. This flaw allows an attacker to upload arbitrary large form fields and cause Starlette to slow down significantly due to excessive memory allocations and copy operations also to consume more and more memory until the server starts swapping and grinds to a halt, or the OS terminates the server process with an out-of-memory (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.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: OpenShift Lightspeed, Red Hat Enterprise Linux AI (RHEL AI) · no fix planned: OpenShift Lightspeed, Red Hat Enterprise Linux AI (RHEL AI) · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-47874.json)\n\n**starlette: Starlette Denial of service (DoS) via multipart/form-data** — rated Important by Red Hat. Released 2024-10-15, updated 2026-10-15.\n\nAffected:\n\n- OpenShift Lightspeed\n- Red Hat Enterprise Linux AI (RHEL AI)\n\nNo fix planned:\n\n- OpenShift Lightspeed\n- Red Hat Enterprise Linux AI (RHEL AI)\n\n## Remediation\n\nWill not fix\n\n## Package advisory (CVE-2024-47874)\n\nAffected packages:\n\n- `starlette < 0.40.0`\n\nPatched in:\n\n- `starlette 0.40.0`\n\nSource: https://osv.dev/vulnerability/GHSA-f96h-pmfr-66vw","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":222227,"id":"CVE-2024-47874","ts":1792065097644,"field":"cvss","old":"0","new":"7.5"},{"seq":222226,"id":"CVE-2024-47874","ts":1792065097644,"field":"severity","old":"none","new":"high"}]}