python3-3.6.8-79.el8_10.ML.1
エラータID: AXSA:2026-2123:11
Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.
Security Fix(es):
* python: python: Arbitrary file deletion via race condition during temporary directory cleanup (CVE-2026-12345)
* python: python: Certificate verification bypass via missing server_hostname validation in SSLContext.wrap_bio() (CVE-2026-19553)
* python: Use-after-free of a server-side SSLContext when sni_callback switches contexts (CVE-2026-19445)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
CVE-2026-12345
The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.
CVE-2026-19445
A remote, unauthenticated TLS client can make a server crash or call through a freed pointer if its sni_callback assigns a different context to SSLSocket.context (the documented way to select a certificate per server name) and nothing else keeps the original ssl.SSLContext alive. Typical cases are servers that create an SSLContext per connection or replace it while connections are open; servers that wrap their listening socket with it are not affected. Mitigation: keep a reference to every SSLContext that sets sni_callback for the lifetime of the server. TLS clients are not affected.
CVE-2026-19553
ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped. This defect could lead to programs where certificate hostname verification *appeared* to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration. If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability. Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap_socket(), when server_hostname isn't supplied.
Update packages.
The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.
A remote, unauthenticated TLS client can make a server crash or call through a freed pointer if its sni_callback assigns a different context to SSLSocket.context (the documented way to select a certificate per server name) and nothing else keeps the original ssl.SSLContext alive. Typical cases are servers that create an SSLContext per connection or replace it while connections are open; servers that wrap their listening socket with it are not affected. Mitigation: keep a reference to every SSLContext that sets sni_callback for the lifetime of the server. TLS clients are not affected.
ssl.SSLContext.wrap_bio() didn't require the server_hostname argument to not be None if ssl.SSLContext.check_hostname was set. Due to a missing parameter check in SSLObject, if the server_hostname argument isn't supplied then hostname verification would be silently skipped. This defect could lead to programs where certificate hostname verification *appeared* to be succeeding with SSLContext.check_hostname = True and no ValueError being raised due to misconfiguration. If the program passes a server_hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability. Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server_hostname value to SSLContext.wrap_bio(), asyncio.create_connection(), or asyncio.loop.start_tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap_socket(), when server_hostname isn't supplied.
N/A
SRPMS
- python3-3.6.8-79.el8_10.ML.1.src.rpm
MD5: c653ddd3a9b0751002ec16b8efc56141
SHA-256: b271be36b2344199cded10d326f51cacd3cb531607285201566293dc2a534e21
Size: 18.38 MB
Asianux Server 8 for x86_64
- platform-python-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: 7190c4290b36792c2922f3abb28ef32e
SHA-256: 39ab8aa743d44c25437cbd68d2fa6b092d8446f092dbfd1741f3e1074229fe41
Size: 88.68 kB - platform-python-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: c24c5c59256990d4c8244da0e1823e49
SHA-256: c67a864d5860a073be635881188c8799e4259ffe8f5e77244401e43c49687dbc
Size: 88.75 kB - platform-python-debug-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: 786c5a568fe20e800307a8e3528b786d
SHA-256: 21bab17f2cb4e74bbf6526cc4dc59292a444378b2d68eb51f57993f70614a9ab
Size: 2.72 MB - platform-python-debug-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: 8b86eaafca99bbf325877d971d3cb4e8
SHA-256: 9adb91e0d6695d7be93d9e21dc814b6c52966acb785c80600b6d5c5827a77873
Size: 2.68 MB - platform-python-devel-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: fce932cedbd0ed4f1b5682a68fa13275
SHA-256: 23a0b500f1618916e8c721cfeb83badfcf43184bd5c0a69dcd3aebd4a0fbf8e4
Size: 241.66 kB - platform-python-devel-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: 07e33a8449ca4fbd43b8d67ae7f0106e
SHA-256: 14f862219c4d59b1f34a7e6288c471155641212155f1db6ae20706798b6b0c24
Size: 241.88 kB - python3-idle-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: 2d7a072fd980e68e640e74458b6ef86e
SHA-256: aaa5753dbce6fa856f26d6fb9fa709fda5e4b0734144d15ea7f6904bcc001755
Size: 830.33 kB - python3-idle-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: 614a431a23809eacf403e46f088e3240
SHA-256: fdde42ba711b28cdf41b087e8df5923e305528c1c809c86365c1133ff71345bd
Size: 830.29 kB - python3-libs-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: c43e4c9afa9743dfe1f4bf893e6eafec
SHA-256: 99c5b48f6d3534cc902329ef385bdd9d414736a383fded6d50bc807a90fae679
Size: 7.92 MB - python3-libs-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: 01dfc4c2043ebf70bb878d34bd2c6433
SHA-256: 2a533a6e908ac457ae0e22d195b3f6a9bb320fda6a62ffaf231b9136a877eb16
Size: 7.85 MB - python3-test-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: 9dbdb79575645f91a52aec9fd9fd13a4
SHA-256: eef9f372b9f090a92047350ac6bc0352ea2cd36d32a1f43aab8d0421f089ee23
Size: 8.71 MB - python3-test-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: cfe720a6c5035652168fdcb41665e25e
SHA-256: ad7e2fe803cb71fd6cb21a911a44f4406c1afa91d2b0ffa3c22222914150186d
Size: 8.72 MB - python3-tkinter-3.6.8-79.el8_10.ML.1.i686.rpm
MD5: aafa362a334c6c51790cdc20cb920065
SHA-256: 658c1563b0bd31e1fed26e9df199b45378e0d35d0ae5919649e89656c4a63a39
Size: 377.00 kB - python3-tkinter-3.6.8-79.el8_10.ML.1.x86_64.rpm
MD5: 84987ff213ab0c393458d5cbc32a7706
SHA-256: def69e63a94352ce8104e1f0bac938783ae39716f4ae63a88bb646beed62b081
Size: 375.73 kB