SUSE Security Update
SUSE-SU-2023:0707-1
Security update for python39
Details
This update for python39 fixes the following issues:
- CVE-2023-24329: Fixed blocklists bypass via the urllib.parse component when supplying a URL that starts with blank characters (bsc#1208471).
Update to 3.9.16:
- python -m http.server no longer allows terminal control
characters sent within a garbage request to be printed to the stderr server log. This is done by changing the http.server BaseHTTPRequestHandler .log_message method to replace control characters with a \xHH hex escape before printing.
- Avoid publishing list of active per-interpreter audit hooks
via the gc module
- The IDNA codec decoder used on DNS hostnames by socket or
asyncio related name resolution functions no longer involves a quadratic algorithm. This prevents a potential CPU denial of service if an out-of-spec excessive length hostname involving bidirectional characters were decoded. Some protocols such as urllib http 3xx redirects potentially allow for an attacker to supply such a name (CVE-2015-20107).
- Update bundled libexpat to 2.5.0
- Port XKCP’s fix for the buffer overflows in SHA-3
(CVE-2022-37454).
- On Linux the multiprocessing module returns to using
filesystem backed unix domain sockets for communication with the forkserver process instead of the Linux abstract socket namespace. Only code that chooses to use the “forkserver” start method is affected. Abstract sockets have no permissions and could allow any user on the system in the same network namespace (often the whole system) to inject code into the multiprocessing forkserver process. This was a potential privilege escalation. Filesystem based socket permissions restrict this to the forkserver process user as was the default in Python 3.8 and earlier. This prevents Linux CVE-2022-42919.
- The deprecated mailcap module now refuses to inject unsafe
text (filenames, MIME types, parameters) into shell commands. Instead of using such text, it will warn and act as if a match was not found (or for test commands, as if the test failed).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise Real Time 15 SP3 | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise Real Time 15 SP3 | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Manager Proxy 4.2 | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Manager Proxy 4.2 | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Manager Server 4.2 | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Manager Server 4.2 | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Enterprise Storage 7.1 | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| SUSE:Enterprise Storage 7.1 | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| openSUSE:Leap 15.4 | python39 | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| openSUSE:Leap 15.4 | python39-core | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
| openSUSE:Leap 15.4 | python39-documentation | All versions before 3.9.16-150300.4.24.1 (fixed in 3.9.16-150300.4.24.1) |
References
- https://www.suse.com/support/update/announcement/2023/suse-su-20230707-1/
- https://bugzilla.suse.com/1208471
- https://www.suse.com/security/cve/CVE-2015-20107
- https://www.suse.com/security/cve/CVE-2022-37454
- https://www.suse.com/security/cve/CVE-2022-42919
- https://www.suse.com/security/cve/CVE-2022-45061
- https://www.suse.com/security/cve/CVE-2023-24329