<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T19:37:46.349840+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2024-24762</id>
    <title>CVE-2024-24762 — python-multipart vulnerable to content-type header Regular expression Denial of Service</title>
    <updated>2026-10-01T19:37:46.409610+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Kludex python-multipart, tiangolo fastapi, encode starlette</p>
<p>`python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-24762"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-2jv5-9r88-3w3p</id>
    <title>GHSA-2jv5-9r88-3w3p — python-multipart vulnerable to Content-Type Header ReDoS</title>
    <updated>2026-10-01T19:37:46.409982+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: python-multipart</p>
<p>### Summary</p>
<p>When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options.</p>
<p>An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests.</p>
<p>This can create a ReDoS (Regular expression Denial of Service): https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS</p>
<p>This only applies when the app uses form data, parsed with `python-multipart`.</p>
<p>### Details</p>
<p>A regular HTTP `Content-Type` header could look like:</p>
<p>```
Content-Type: text/html; charset=utf-8
```</p>
<p>`python-multipart` parses the option with this RegEx: https://github.com/andrew-d/python-multipart/blob/d3d16dae4b061c34fe9d3c9081d9800c49fc1f7a/multipart/multipart.py#L72-L74</p>
<p>A custom option could be made and sent to the server to break it with:</p>
<p>```
Content-Type: application/x-www-form-urlencoded; !=\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
```</p>
<p>### PoC</p>
<p>Create a simple WSGI application, that just parses the `Content-Type`, and run it with `python main.py`:</p>
<p>```Python
# main.py
from wsgiref.simple_server import make_server
from wsgiref.vali…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-2jv5-9r88-3w3p"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2024-38</id>
    <title>PYSEC-2024-38</title>
    <updated>2026-10-01T19:37:46.410235+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: fastapi</p>
<p>FastAPI is a web framework for building APIs with Python 3.8+ based on standard Python type hints. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests. It's a ReDoS(Regular expression Denial of Service), it only applies to those reading form data, using `python-multipart`. This vulnerability has been patched in version 0.109.1.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2024-38"/>
  </entry>
</feed>
