<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 08:28:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-30798 — MultipartParser DOS with too many fields or files in Starlette Framework</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-30798</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Encode Starlette&lt;/p&gt;
&lt;p&gt;There MultipartParser usage in Encode&amp;#39;s Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Encode Starlette&lt;/p&gt;
&lt;p&gt;There MultipartParser usage in Encode&amp;#39;s Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-30798</guid>
    </item>
    <item>
      <title>GHSA-74m5-2c7w-9w3x — MultipartParser denial of service with too many fields or files</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-74m5-2c7w-9w3x</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: starlette&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The `MultipartParser` using the package `python-multipart` accepts an unlimited number of multipart parts (form fields or files).&lt;/p&gt;
&lt;p&gt;Processing too many parts results in high CPU usage and high memory usage, eventually leading to an &amp;lt;abbr title=&amp;#34;out of memory&amp;#34;&amp;gt;OOM&amp;lt;/abbr&amp;gt; process kill.&lt;/p&gt;
&lt;p&gt;This can be triggered by sending too many small form fields with no content, or too many empty files.&lt;/p&gt;
&lt;p&gt;For this to take effect application code has to:&lt;/p&gt;
&lt;p&gt;* Have `python-multipart` installed and
* call `request.form()`
  * or via another framework like FastAPI, using form field parameters or `UploadFile` parameters, which in turn calls `request.form()`.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The vulnerability is solved in Starlette 0.25.0 by making the maximum fields and files customizable and with a sensible default (1000).&lt;/p&gt;
&lt;p&gt;Applications will be secure by just upgrading their Starlette version to 0.25.0 (or FastAPI to 0.92.0).&lt;/p&gt;
&lt;p&gt;If application code needs to customize the new max field and file number, there are new `request.form()` parameters (with the default values):&lt;/p&gt;
&lt;p&gt;* `max_files=1000`
* `max_fields=1000`&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;Applications that don&amp;#39;t install `python-multipart` or that don&amp;#39;t use form fields are safe.&lt;/p&gt;
&lt;p&gt;In older versions, it&amp;#39;s also possible to instead of calling `request.form()` call `request.stream()` and parse the form data in internal code.&lt;/p&gt;
&lt;p&gt;In most cases, the best solution is to upgrade the Starlette version.&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;This was reported in private by @das7pad via internal email. He als…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: starlette&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The `MultipartParser` using the package `python-multipart` accepts an unlimited number of multipart parts (form fields or files).&lt;/p&gt;
&lt;p&gt;Processing too many parts results in high CPU usage and high memory usage, eventually leading to an &amp;lt;abbr title=&amp;#34;out of memory&amp;#34;&amp;gt;OOM&amp;lt;/abbr&amp;gt; process kill.&lt;/p&gt;
&lt;p&gt;This can be triggered by sending too many small form fields with no content, or too many empty files.&lt;/p&gt;
&lt;p&gt;For this to take effect application code has to:&lt;/p&gt;
&lt;p&gt;* Have `python-multipart` installed and
* call `request.form()`
  * or via another framework like FastAPI, using form field parameters or `UploadFile` parameters, which in turn calls `request.form()`.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The vulnerability is solved in Starlette 0.25.0 by making the maximum fields and files customizable and with a sensible default (1000).&lt;/p&gt;
&lt;p&gt;Applications will be secure by just upgrading their Starlette version to 0.25.0 (or FastAPI to 0.92.0).&lt;/p&gt;
&lt;p&gt;If application code needs to customize the new max field and file number, there are new `request.form()` parameters (with the default values):&lt;/p&gt;
&lt;p&gt;* `max_files=1000`
* `max_fields=1000`&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;Applications that don&amp;#39;t install `python-multipart` or that don&amp;#39;t use form fields are safe.&lt;/p&gt;
&lt;p&gt;In older versions, it&amp;#39;s also possible to instead of calling `request.form()` call `request.stream()` and parse the form data in internal code.&lt;/p&gt;
&lt;p&gt;In most cases, the best solution is to upgrade the Starlette version.&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;This was reported in private by @das7pad via internal email. He als…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-74m5-2c7w-9w3x</guid>
    </item>
    <item>
      <title>PYSEC-2023-48</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2023-48</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: starlette&lt;/p&gt;
&lt;p&gt;There MultipartParser usage in Encode&amp;#39;s Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: starlette&lt;/p&gt;
&lt;p&gt;There MultipartParser usage in Encode&amp;#39;s Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2023-48</guid>
    </item>
  </channel>
</rss>
