summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-07 10:27:47 +0100
committerGyorgy Sarvari <skandigraun@gmail.com>2026-01-08 22:03:03 +0100
commit1bd2effd23f752dc53eafb8032c8874fd36f872d (patch)
treeb20559f32d72eb87cc8f3c1c350e93212d209f7d /meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch
parent1ea440cd62d4fc1a0cd4d391bef16cc0ee894458 (diff)
downloadmeta-openembedded-1bd2effd23f752dc53eafb8032c8874fd36f872d.tar.gz
python3-waitress: patch CVE-2024-49769
Details: https://nvd.nist.gov/vuln/detail/CVE-2024-49769 Pick the patch that is referenced in the NVD report (which is a merge commit. The patches here are the individual patches from that merge). Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch b/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch
new file mode 100644
index 0000000000..a8a0a2e594
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-1.patch
@@ -0,0 +1,27 @@
1From fdabcb31093507f50fcaeb46012ec8df8bf76359 Mon Sep 17 00:00:00 2001
2From: Delta Regeer <bertjw@regeer.org>
3Date: Sun, 3 Mar 2024 16:15:51 -0700
4Subject: [PATCH] HTTPChannel is always created from accept, explicitly set
5 self.connected to True
6
7CVE: CVE-2024-49769
8Upstream-Status: Backport [https://github.com/Pylons/waitress/commit/03cc640fe7106902899f82115c26e37002bca7f1]
9Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
10---
11 src/waitress/channel.py | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-)
13
14diff --git a/src/waitress/channel.py b/src/waitress/channel.py
15index 756adce..cf19ef2 100644
16--- a/src/waitress/channel.py
17+++ b/src/waitress/channel.py
18@@ -67,8 +67,7 @@ class HTTPChannel(wasyncore.dispatcher):
19 self.outbuf_lock = threading.Condition()
20
21 wasyncore.dispatcher.__init__(self, sock, map=map)
22-
23- # Don't let wasyncore.dispatcher throttle self.addr on us.
24+ self.connected = True
25 self.addr = addr
26 self.requests = []
27