Bugzilla Automation <[email protected]> has asked freebsd-python (Nobody)
<[email protected]> for maintainer-feedback:
Bug 300592: lang/python312: security update to 3.12.16
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300592
--- Description ---
Python 3.12.16 final
Release date: 2026-10-25
Security
gh-160300: Fix http.cookiejar.DefaultCookiePolicy accepting and returning
cookies with a negative Version attribute without checking their domain against
the request host. Such cookies are now ignored.
CVE 2026-114583, gh-160097: tarfile.tar_filter() now rejects link members
whose path resolves to the destination directory itself, as
tarfile.data_filter() already did.
CVE 2026-115557, gh-160040: ssl now rejects TLS certificate chains that
contain any of a set of compromised eMudhra intermediate CA keys. This is an
extraordinary measure and a last line of defense: removing trust is primarily
the job of the platform root store, and the built-in denylist only blocks
connections while that update has not yet reached the OS, a container image, or
a bundled trust store in various Python packages. Entries are added to the
denylist only under a very high threshold. The denylist matches on the public
key (the SHA-256 digest of the RFC 5280 SubjectPublicKeyInfo), so it also
covers the cross-signed certificates that reuse one of the distrusted keys.
gh-159428: mimetypes no longer reads the files listed in
mimetypes.knownfiles by default on Windows, and uses only the registry.
gh-157953: Update bundled libexpat to version 2.9.0.
gh-157579: Fix a race condition in the cleanup of
tempfile.TemporaryDirectory. When working around file system permission errors,
files are now removed relative to open directory file descriptors instead of
resolving their path again, so that replacing a directory of the tree with a
symbolic link can no longer make the cleanup delete files outside of the
temporary directory. This addresses CVE 2026-12345.
Library
gh-87720: Fixed error in email new policies where header folding failed to
detect the need to re-quote text obtained from encoded words in certain cases.