package/python3: security bump to version 3.12.13
Fixes a number of security issues:
Email and header-related:
gh-144125: email.generator.BytesGenerator now refuses to serialize headers that are unsafely folded or delimited (see email.policy.Policy.verify_generated_headers); addressing CVE-2024-6923.
gh-143935: Fixed comment folding in modern email policies to prevent header injection when very long non-foldable comment text is wrapped.
gh-136063: email.message now ensures linear complexity for legacy HTTP parameter parsing.
HTTP, cookies, and URL parsing-related:
gh-143916: wsgiref.headers.Headers now rejects C0 control characters in fields, values, and parameters.
gh-143919: http.cookies.Morsel now rejects control characters in fields and values.
gh-143925: data: URL media types now reject control characters.
XML-related:
gh-144363: Upgraded bundled libexpat to 2.7.4 to fix CVE-2026-24515 and CVE-2026-25210.
gh-90949: Added Expat allocation-tracker APIs to xml.parsers.expat parser objects to limit memory amplification from malicious XML input; includes mitigation for CVE-2025-59375.
gh-142145: Removed quadratic behavior in xml.dom.minidom node ID cache clearing.
Denial-of-service hardening:
gh-119342: Fixed a potential memory denial of service in plistlib.
gh-119451: Fixed a potential memory denial of service in http.client.
gh-119452: Fixed a potential memory denial of service in http.server (CGI server on Windows).
gh-136065: Fixed quadratic complexity in os.path.expandvars().
HTML parsing-related:
gh-137836: Hardened html.parser.HTMLParser with support for additional RAWTEXT/PLAINTEXT elements (plaintext, xmp, iframe, noembed, noframes, optional noscript), improving robust handling of hostile markup.
SSL memory-safety fixes:
gh-144833: Fixed a use-after-free in ssl when SSL_new() fails.
For details, see the announcement:
https://www.python.org/downloads/release/python-31213/
Upstream now provides a sha256 hash, so use that instead of md5.
--- package/python3/python3.hash | 5 ++--- package/python3/python3.mk | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-)
package/python3/python3.hash +2 -3
@@ -1,5 +1,4 @@ -# From https://www.python.org/downloads/release/python-31211/ -md5 04feb01316c7bb1b448001adbc63dd23 Python-3.12.12.tar.xz +# From https://www.python.org/downloads/release/python-31213/ +sha256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 Python-3.12.13.tar.xz # Locally computed -sha256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 Python-3.12.12.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSE
package/python3/python3.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.12 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).12 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).13 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Peter,
I applied this one https://lore.kernel.org/r/<[email protected]>
and then saw you submission.
I planned to merge the security description but forgot before syncing.
Best regards,
PERALE Thomas
In reply of:
Quoted 101 lines
Fixes a number of security issues:
Email and header-related:
gh-144125: email.generator.BytesGenerator now refuses to serialize headers that are unsafely folded or delimited (see email.policy.Policy.verify_generated_headers); addressing CVE-2024-6923.
gh-143935: Fixed comment folding in modern email policies to prevent header injection when very long non-foldable comment text is wrapped.
gh-136063: email.message now ensures linear complexity for legacy HTTP parameter parsing.
HTTP, cookies, and URL parsing-related:
gh-143916: wsgiref.headers.Headers now rejects C0 control characters in fields, values, and parameters.
gh-143919: http.cookies.Morsel now rejects control characters in fields and values.
gh-143925: data: URL media types now reject control characters.
XML-related:
gh-144363: Upgraded bundled libexpat to 2.7.4 to fix CVE-2026-24515 and CVE-2026-25210.
gh-90949: Added Expat allocation-tracker APIs to xml.parsers.expat parser objects to limit memory amplification from malicious XML input; includes mitigation for CVE-2025-59375.
gh-142145: Removed quadratic behavior in xml.dom.minidom node ID cache clearing.
Denial-of-service hardening:
gh-119342: Fixed a potential memory denial of service in plistlib.
gh-119451: Fixed a potential memory denial of service in http.client.
gh-119452: Fixed a potential memory denial of service in http.server (CGI server on Windows).
gh-136065: Fixed quadratic complexity in
os.path.expandvars().HTML parsing-related:
gh-137836: Hardened html.parser.HTMLParser with support for additional RAWTEXT/PLAINTEXT elements (plaintext, xmp, iframe, noembed, noframes, optional noscript), improving robust handling of hostile markup.
SSL memory-safety fixes:
gh-144833: Fixed a use-after-free in ssl when
SSL_new()fails.For details, see the announcement:
https://www.python.org/downloads/release/python-31213/Upstream now provides a sha256 hash, so use that instead of md5.
Signed-off-by Peter Korsgaard <[email protected]>--- package/python3/python3.hash | 5 ++--- package/python3/python3.mk | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-)package/python3/python3.hash +2
-3@@ -1,5 +1,4 @@ -# From https://www.python.org/downloads/release/python-31211/ -md5 04feb01316c7bb1b448001adbc63dd23 Python-3.12.12.tar.xz +# From https://www.python.org/downloads/release/python-31213/ +sha256 c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684 Python-3.12.13.tar.xz # Locally computed -sha256 fb85a13414b028c49ba18bbd523c2d055a30b56b18b92ce454ea2c51edc656c4 Python-3.12.12.tar.xz sha256 3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf LICENSEpackage/python3/python3.mk +1
-1@@ -5,7 +5,7 @@ ################################################################################ PYTHON3_VERSION_MAJOR = 3.12 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).12 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).13 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, othersSignature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot