瀏覽代碼

package/python-waitress: security bump to 3.0.2

Both 3.0.1 and 3.0.2 fix security issues.

In 3.0.1:

* Fix a bug that would lead to Waitress busy looping on select() on a
  half-open socket due to a race condition that existed when creating a
  new HTTPChannel. See https://github.com/Pylons/waitress/pull/435,
  https://github.com/Pylons/waitress/issues/418 and
  https://github.com/Pylons/waitress/security/advisories/GHSA-3f84-rpwh-47g6

* With thanks to Dylan Jay and Dieter Maurer for their extensive
  debugging and helping track this down.

* No longer strip the header values before passing them to the WSGI
  environ. See https://github.com/Pylons/waitress/pull/434 and
  https://github.com/Pylons/waitress/issues/432

* Fix a race condition in Waitress when channel_request_lookahead is
  enabled that could lead to HTTP request smuggling.
  See https://github.com/Pylons/waitress/security/advisories/GHSA-9298-4cf8-g4wj

In 3.0.2:

* When using Waitress to process trusted proxy headers, Waitress will
  now update the headers to drop any untrusted values, thereby making sure
  that WSGI apps only get trusted and validated values that Waitress
  itself used to update the environ. See
  https://github.com/Pylons/waitress/pull/452 and
  https://github.com/Pylons/waitress/issues/451

Full Changelog:
https://docs.pylonsproject.org/projects/waitress/en/latest/#change-history

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Marcus Hoffmann 6 月之前
父節點
當前提交
d9d76e0351
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      package/python-waitress/python-waitress.hash
  2. 2 2
      package/python-waitress/python-waitress.mk

+ 2 - 2
package/python-waitress/python-waitress.hash

@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/waitress/json
-md5  b8c671ed131b84a0099493f445c98014  waitress-3.0.0.tar.gz
-sha256  005da479b04134cdd9dd602d1ee7c49d79de0537610d653674cc6cbde222b8a1  waitress-3.0.0.tar.gz
+md5  da30daf4544fafe0f43e1ba4a1830bf5  waitress-3.0.2.tar.gz
+sha256  682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f  waitress-3.0.2.tar.gz
 # Locally computed sha256 checksums
 sha256  3e671db11df687516cc1db5b3d65e4aa383eaca3c20cea3faf53a0f7335d0a3c  LICENSE.txt

+ 2 - 2
package/python-waitress/python-waitress.mk

@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_WAITRESS_VERSION = 3.0.0
+PYTHON_WAITRESS_VERSION = 3.0.2
 PYTHON_WAITRESS_SOURCE = waitress-$(PYTHON_WAITRESS_VERSION).tar.gz
-PYTHON_WAITRESS_SITE = https://files.pythonhosted.org/packages/70/34/cb77e5249c433eb177a11ab7425056b32d3b57855377fa1e38b397412859
+PYTHON_WAITRESS_SITE = https://files.pythonhosted.org/packages/bf/cb/04ddb054f45faa306a230769e868c28b8065ea196891f09004ebace5b184
 PYTHON_WAITRESS_SETUP_TYPE = setuptools
 PYTHON_WAITRESS_LICENSE = ZPL-2.1
 PYTHON_WAITRESS_LICENSE_FILES = LICENSE.txt