CVE-2023-30798
Python vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-30798) affects the MultipartParser usage in Encode's Starlette python framework versions before 0.25.0. This security flaw was discovered and disclosed in April 2023, allowing unauthenticated remote attackers to cause denial of service through excessive memory usage. The vulnerability specifically impacts applications using the python-multipart package with Starlette's form parsing functionality (VulnCheck Advisory, GitHub Advisory).

Technical details

The vulnerability is classified as an Uncontrolled Resource Consumption (CWE-400) issue with a CVSS v3.1 score of 7.5 (High). The attack vector is network-accessible (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N). The scope is unchanged (S:U), with no impact on confidentiality (C:N) or integrity (I:N), but high impact on availability (A:H) (VulnCheck Advisory).

Impact

When exploited, the vulnerability allows attackers to cause excessive CPU and memory usage by sending numerous small form fields with no content or multiple empty files. This can eventually lead to an Out of Memory (OOM) process kill, resulting in denial of service of the HTTP service (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in Starlette version 0.25.0 by implementing customizable limits for maximum fields and files with a default value of 1000. For older versions, workarounds include avoiding the installation of python-multipart or using request.stream() instead of request.form() to parse form data internally. The recommended solution is to upgrade to Starlette version 0.25.0 or later (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-66470MEDIUM6.1
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-66469MEDIUM6.1
  • PythonPython
  • nicegui
NoYesDec 09, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 09, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management