Tornado has a DoS due to too many multipart parts
Tornado is a Python web framework and asynchronous networking library. In versions of Tornado prior to 6.5.5, the only limit on the number of parts in multipart/form-data is the max_body_size setting (default 100MB). Since parsing occurs synchronously on the main thread, this creates the possibility of denial-of-service due to the cost of parsing very large multipart bodies with many parts. This vulnerability is fixed in 6.5.5.
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc x_refsource_CONFIRM
Affected products
- ==< 6.5.5
Matching in nixpkgs
pkgs.python312Packages.tornado
Web framework and asynchronous networking library
pkgs.python313Packages.tornado
Web framework and asynchronous networking library
pkgs.python314Packages.tornado
Web framework and asynchronous networking library
pkgs.python312Packages.pytest-tornado
Py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications
pkgs.python312Packages.sockjs-tornado
SockJS python server implementation on top of Tornado framework
pkgs.python313Packages.pytest-tornado
Py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications
pkgs.python313Packages.sockjs-tornado
SockJS python server implementation on top of Tornado framework
pkgs.python314Packages.pytest-tornado
Py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications
pkgs.python314Packages.sockjs-tornado
SockJS python server implementation on top of Tornado framework
Package maintainers
-
@abbradar Nikolay Amiantov <ab@fmap.me>