diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-07 10:27:47 +0100 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-08 22:03:03 +0100 |
| commit | 1bd2effd23f752dc53eafb8032c8874fd36f872d (patch) | |
| tree | b20559f32d72eb87cc8f3c1c350e93212d209f7d /meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-3.patch | |
| parent | 1ea440cd62d4fc1a0cd4d391bef16cc0ee894458 (diff) | |
| download | meta-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-3.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-3.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-3.patch b/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-3.patch new file mode 100644 index 0000000000..165ede95c7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49769-3.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 28377c0e0fdd8669fb250e69745caf1c27ba541b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Delta Regeer <bertjw@regeer.org> | ||
| 3 | Date: Sun, 3 Mar 2024 16:23:33 -0700 | ||
| 4 | Subject: [PATCH] Remove test for getpeername() | ||
| 5 | |||
| 6 | CVE: CVE-2024-49769 | ||
| 7 | Upstream-Status: Backport [https://github.com/Pylons/waitress/commit/86c680df4e4bdd40c78dec771cddcee059e802c4] | ||
| 8 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 9 | --- | ||
| 10 | tests/test_wasyncore.py | 11 ----------- | ||
| 11 | 1 file changed, 11 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/tests/test_wasyncore.py b/tests/test_wasyncore.py | ||
| 14 | index e833c7e..5f38bd9 100644 | ||
| 15 | --- a/tests/test_wasyncore.py | ||
| 16 | +++ b/tests/test_wasyncore.py | ||
| 17 | @@ -1451,17 +1451,6 @@ class Test_dispatcher(unittest.TestCase): | ||
| 18 | |||
| 19 | return dispatcher(sock=sock, map=map) | ||
| 20 | |||
| 21 | - def test_unexpected_getpeername_exc(self): | ||
| 22 | - sock = dummysocket() | ||
| 23 | - | ||
| 24 | - def getpeername(): | ||
| 25 | - raise OSError(errno.EBADF) | ||
| 26 | - | ||
| 27 | - map = {} | ||
| 28 | - sock.getpeername = getpeername | ||
| 29 | - self.assertRaises(socket.error, self._makeOne, sock=sock, map=map) | ||
| 30 | - self.assertEqual(map, {}) | ||
| 31 | - | ||
| 32 | def test___repr__accepting(self): | ||
| 33 | sock = dummysocket() | ||
| 34 | map = {} | ||
