]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Version 0.40.0 (#2728) 0.40.0
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Tue, 15 Oct 2024 06:49:52 +0000 (08:49 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Oct 2024 06:49:52 +0000 (08:49 +0200)
docs/release-notes.md
starlette/__init__.py

index 39113f4dec491a1919a5fff56aa17e4be6b767b9..2cc2400f26b22447e624835e025e7f6daf9c7a93 100644 (file)
@@ -3,6 +3,18 @@ hide: navigation
 toc_depth: 2
 ---
 
+## 0.40.0 (October 15, 2024)
+
+This release fixes a Denial of service (DoS) via `multipart/form-data` requests.
+
+You can view the full security advisory:
+[GHSA-f96h-pmfr-66vw](https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw)
+
+#### Fixed
+
+- Add `max_part_size` to `MultiPartParser` to limit the size of parts in `multipart/form-data`
+  requests [fd038f3](https://github.com/encode/starlette/commit/fd038f3070c302bff17ef7d173dbb0b007617733).
+
 ## 0.39.2 (September 29, 2024)
 
 #### Fixed
@@ -118,7 +130,7 @@ toc_depth: 2
 
 #### Fixed
 
-* Upgrade `python-multipart` to `0.0.7` [13e5c26](13e5c26a27f4903924624736abd6131b2da80cc5).
+* Upgrade `python-multipart` to `0.0.7` [13e5c26](http://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5).
 * Avoid duplicate charset on `Content-Type` [#2443](https://github.com/encode/starlette/2443).
 
 ## 0.36.1 (January 23, 2024)
index 0033e2230db72838dab7cfed8dc6fb1f895db893..da7ed90a99e4b933de88b198313249eeb2473ccc 100644 (file)
@@ -1 +1 @@
-__version__ = "0.39.2"
+__version__ = "0.40.0"