mirror of
https://git.yoctoproject.org/poky
synced 2026-11-26 07:15:46 +00:00
This is a security release of Python 3.12 Release information: [1] This is an expedited security release to address the compromised eMudhra intermediate CA keys. These keys are now blocked by the ssl module as a last resort against their use. Normal uses of pip, including to upgrade pip itself, are now safe from attacks based on those compromised keys, even if pip hasn't been updated yet. Security content in this release * CVE-2026-115557 gh-160040: Distrust compromised eMudhra intermediate CA keys * CVE-2026-77214 CVE-2026-102633 gh-158876: Update bundled Expat to 2.9.0 * CVE-2024-3220 gh-159428: Don't read mimetypes.knownfiles by default on Windows * CVE-2026-114583 gh-160097: Reject links replacing the destination in tarfile.tar_filter * gh-87720: Fix additional header refolding-quoting edge case * gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory * gh-160300: Reject cookies with a negative version in http.cookiejar [1] https://www.python.org/downloads/release/python-31216/ (From OE-Core rev: 7011909c11179b6da9d9304849f76ae07e9db878) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev>
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From e8bd4f8ee56cbb12a61c1dcabf35a1835a863132 Mon Sep 17 00:00:00 2001
|
|
From: Paulo Neves <ptsneves@gmail.com>
|
|
Date: Tue, 7 Jun 2022 16:16:41 +0200
|
|
Subject: [PATCH] Avoid shebang overflow on python-config.py
|
|
|
|
The whole native path may be too big, leading to shebang
|
|
overflow. Let's just use the env shebang.
|
|
|
|
Denial reason: [1]
|
|
|
|
Upstream-Status: Denied [distribution]
|
|
|
|
[1] https://github.com/python/cpython/pull/93760#pullrequestreview-1005365737
|
|
---
|
|
Makefile.pre.in | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
index 2d235d2..1ac2263 100644
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -2366,6 +2366,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
|
|
@ # Substitution happens here, as the completely-expanded BINDIR
|
|
@ # is not available in configure
|
|
sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py
|
|
+ @ # Otherwise we might get huge shebangs with native paths
|
|
+ sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' python-config.py
|
|
@ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
|
|
LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
|
|
@ # On Darwin, always use the python version of the script, the shell
|