Security update for python311
| Announcement ID: | SUSE-SU-2025:20346-1 |
|---|---|
| Release Date: | May 23, 2025, 1:55 p.m. |
| Rating: | moderate |
| References: | |
| Cross-References: | |
| CVSS scores: |
|
| Affected Products: |
|
An update that solves one vulnerability and has one fix can now be installed.
Description:
This update for python311 fixes the following issues:
- Updated to 3.11.12:
- gh-131809: Updated bundled libexpat to 2.7.1
- gh-131261: Upgraded to libexpat 2.7.0
- CVE-2025-0938: Fixed functions
urllib.parse.urlsplitandurlparseaccepting domain names including square brackets (bsc#1236705) - gh-121284: Fixed bug in the folding of rfc2047 encoded-words when flattening an email message using a modern email policy. Previously when an encoded-word was too long for a line, it would be decoded, split across lines, and re-encoded. But commas and other special characters in the original text could be left unencoded and unquoted. This could theoretically be used to spoof header lines using a carefully constructed encoded-word if the resulting rendered email was transmitted or re-parsed.
- gh-80222: Fixed bug in the folding of quoted strings when flattening an email message using a modern email policy. Previously when a quoted string was folded so that it spanned more than one line, the surrounding quotes and internal escapes would be omitted. This could theoretically be used to spoof header lines using a carefully constructed quoted string if the resulting rendered email was transmitted or re-parsed.
- gh-119511: Fixed a potential denial of service in the imaplib module. When connecting to a malicious server, it could cause an arbitrary amount of memory to be allocated. On many systems this is harmless as unused virtual memory is only a mapping, but if this hit a virtual address size limit it could lead to a MemoryError or other process crash. On unusual systems or builds where all allocated memory is touched and backed by actual ram or storage it could’ve consumed resources doing so until similarly crashing.
- gh-127257: In ssl, system call failures that OpenSSL reports using ERR_LIB_SYS are now raised as OSError.
- gh-121277: Writers of CPython’s documentation can now use next as the version for the versionchanged, versionadded, deprecated directives.
- gh-106883: Disabled GC during the _PyThread_CurrentFrames() and _PyThread_CurrentExceptions() calls to avoid the interpreter to deadlock.
Patch Instructions:
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
-
SUSE Linux Micro 6.0
zypper in -t patch SUSE-SLE-Micro-6.0-336=1
Package List:
-
SUSE Linux Micro 6.0 (aarch64 s390x x86_64)
- python311-3.11.12-1.1
- python311-curses-debuginfo-3.11.12-1.1
- libpython3_11-1_0-3.11.12-1.1
- python311-core-debugsource-3.11.12-1.1
- python311-base-debuginfo-3.11.12-1.1
- python311-debuginfo-3.11.12-1.1
- python311-base-3.11.12-1.1
- python311-curses-3.11.12-1.1
- libpython3_11-1_0-debuginfo-3.11.12-1.1
- python311-debugsource-3.11.12-1.1