Skip to contentSkip to conversation

package/python-waitress: security bump to 3.0.2

PATCH In review Marcus Hoffmann via buildroot 2 participants 2 messages Feb 6, 2025 – Feb 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/python-waitress/python-waitress.hash | 4 ++--
 package/python-waitress/python-waitress.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-waitress/python-waitress.hash +2 -2
index c1663a351a..40564457dd 100644
@@ -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
package/python-waitress/python-waitress.mk +2 -2
index c1618817dc..660f839a4d 100644
@@ -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
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 31 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Marcus" == Marcus Hoffmann via buildroot <[email protected]> writes:

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

Quoted 4 lines

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

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot