# Security update for python

Announcement ID: SUSE-SU-2024:1667-1  
Rating: moderate  
References:

  * bsc#1214675
  * bsc#1219306
  * bsc#1219559
  * bsc#1220970
  * bsc#1222537

  
Cross-References:

  * CVE-2022-48560
  * CVE-2023-27043
  * CVE-2023-52425

  
CVSS scores:

  * CVE-2022-48560 ( SUSE ):  6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2022-48560 ( NVD ):  7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  * CVE-2023-27043 ( SUSE ):  5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  * CVE-2023-27043 ( NVD ):  5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  * CVE-2023-52425 ( SUSE ):  5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  * CVE-2023-52425 ( NVD ):  7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

  
Affected Products:

  * SUSE Linux Enterprise High Performance Computing 12 SP5
  * SUSE Linux Enterprise Server 12 SP5
  * SUSE Linux Enterprise Server for SAP Applications 12 SP5
  * SUSE Linux Enterprise Workstation Extension 12 12-SP5

  
  
An update that solves three vulnerabilities and has two security fixes can now
be installed.

## Description:

This update for python fixes the following issues:

  * CVE-2023-52425: Fixed using the system libexpat (bsc#1219559).
  * CVE-2023-27043: Modifed fix for unicode string handling in
    email.utils.parseaddr() (bsc#1222537).
  * CVE-2022-48560: Fixed use-after-free in Python via heappushpop in heapq
    (bsc#1214675).

Bug fixes:

  * Switch off tests. ONLY FOR FACTORY!!! (bsc#1219306).
  * Build with -std=gnu89 to build correctly with gcc14 (bsc#1220970).
  * Switch from %patchN style to the %patch -P N one.

## 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 Enterprise Workstation Extension 12 12-SP5  
    zypper in -t patch SUSE-SLE-WE-12-SP5-2024-1667=1

  * SUSE Linux Enterprise High Performance Computing 12 SP5  
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-1667=1

  * SUSE Linux Enterprise Server 12 SP5  
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-1667=1

  * SUSE Linux Enterprise Server for SAP Applications 12 SP5  
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-1667=1

## Package List:

  * SUSE Linux Enterprise Workstation Extension 12 12-SP5 (x86_64)
    * python-base-debugsource-2.7.18-33.32.1
    * python-base-debuginfo-2.7.18-33.32.1
    * python-devel-2.7.18-33.32.1
  * SUSE Linux Enterprise High Performance Computing 12 SP5 (aarch64 x86_64)
    * python-xml-debuginfo-2.7.18-33.32.1
    * python-xml-2.7.18-33.32.1
    * python-2.7.18-33.32.1
    * python-debugsource-2.7.18-33.32.1
    * libpython2_7-1_0-2.7.18-33.32.1
    * python-base-debugsource-2.7.18-33.32.1
    * python-debuginfo-2.7.18-33.32.1
    * python-base-2.7.18-33.32.1
    * python-curses-debuginfo-2.7.18-33.32.1
    * python-curses-2.7.18-33.32.1
    * python-gdbm-2.7.18-33.32.1
    * python-devel-2.7.18-33.32.1
    * python-idle-2.7.18-33.32.1
    * python-base-debuginfo-2.7.18-33.32.1
    * python-tk-2.7.18-33.32.1
    * python-tk-debuginfo-2.7.18-33.32.1
    * libpython2_7-1_0-debuginfo-2.7.18-33.32.1
    * python-gdbm-debuginfo-2.7.18-33.32.1
    * python-demo-2.7.18-33.32.1
  * SUSE Linux Enterprise High Performance Computing 12 SP5 (noarch)
    * python-doc-2.7.18-33.32.1
    * python-doc-pdf-2.7.18-33.32.1
  * SUSE Linux Enterprise High Performance Computing 12 SP5 (x86_64)
    * python-base-32bit-2.7.18-33.32.1
    * python-base-debuginfo-32bit-2.7.18-33.32.1
    * libpython2_7-1_0-32bit-2.7.18-33.32.1
    * python-debuginfo-32bit-2.7.18-33.32.1
    * libpython2_7-1_0-debuginfo-32bit-2.7.18-33.32.1
    * python-32bit-2.7.18-33.32.1
  * SUSE Linux Enterprise Server 12 SP5 (aarch64 ppc64le s390x x86_64)
    * python-xml-debuginfo-2.7.18-33.32.1
    * python-xml-2.7.18-33.32.1
    * python-2.7.18-33.32.1
    * python-debugsource-2.7.18-33.32.1
    * libpython2_7-1_0-2.7.18-33.32.1
    * python-base-debugsource-2.7.18-33.32.1
    * python-debuginfo-2.7.18-33.32.1
    * python-base-2.7.18-33.32.1
    * python-curses-debuginfo-2.7.18-33.32.1
    * python-curses-2.7.18-33.32.1
    * python-gdbm-2.7.18-33.32.1
    * python-devel-2.7.18-33.32.1
    * python-idle-2.7.18-33.32.1
    * python-base-debuginfo-2.7.18-33.32.1
    * python-tk-2.7.18-33.32.1
    * python-tk-debuginfo-2.7.18-33.32.1
    * libpython2_7-1_0-debuginfo-2.7.18-33.32.1
    * python-gdbm-debuginfo-2.7.18-33.32.1
    * python-demo-2.7.18-33.32.1
  * SUSE Linux Enterprise Server 12 SP5 (noarch)
    * python-doc-2.7.18-33.32.1
    * python-doc-pdf-2.7.18-33.32.1
  * SUSE Linux Enterprise Server 12 SP5 (s390x x86_64)
    * python-base-32bit-2.7.18-33.32.1
    * python-base-debuginfo-32bit-2.7.18-33.32.1
    * libpython2_7-1_0-32bit-2.7.18-33.32.1
    * python-debuginfo-32bit-2.7.18-33.32.1
    * libpython2_7-1_0-debuginfo-32bit-2.7.18-33.32.1
    * python-32bit-2.7.18-33.32.1
  * SUSE Linux Enterprise Server for SAP Applications 12 SP5 (ppc64le x86_64)
    * python-xml-debuginfo-2.7.18-33.32.1
    * python-xml-2.7.18-33.32.1
    * python-2.7.18-33.32.1
    * python-debugsource-2.7.18-33.32.1
    * libpython2_7-1_0-2.7.18-33.32.1
    * python-base-debugsource-2.7.18-33.32.1
    * python-debuginfo-2.7.18-33.32.1
    * python-base-2.7.18-33.32.1
    * python-curses-debuginfo-2.7.18-33.32.1
    * python-curses-2.7.18-33.32.1
    * python-gdbm-2.7.18-33.32.1
    * python-devel-2.7.18-33.32.1
    * python-idle-2.7.18-33.32.1
    * python-base-debuginfo-2.7.18-33.32.1
    * python-tk-2.7.18-33.32.1
    * python-tk-debuginfo-2.7.18-33.32.1
    * libpython2_7-1_0-debuginfo-2.7.18-33.32.1
    * python-gdbm-debuginfo-2.7.18-33.32.1
    * python-demo-2.7.18-33.32.1
  * SUSE Linux Enterprise Server for SAP Applications 12 SP5 (noarch)
    * python-doc-2.7.18-33.32.1
    * python-doc-pdf-2.7.18-33.32.1
  * SUSE Linux Enterprise Server for SAP Applications 12 SP5 (x86_64)
    * python-base-32bit-2.7.18-33.32.1
    * python-base-debuginfo-32bit-2.7.18-33.32.1
    * libpython2_7-1_0-32bit-2.7.18-33.32.1
    * python-debuginfo-32bit-2.7.18-33.32.1
    * libpython2_7-1_0-debuginfo-32bit-2.7.18-33.32.1
    * python-32bit-2.7.18-33.32.1

## References:

  * https://www.suse.com/security/cve/CVE-2022-48560.html
  * https://www.suse.com/security/cve/CVE-2023-27043.html
  * https://www.suse.com/security/cve/CVE-2023-52425.html
  * https://bugzilla.suse.com/show_bug.cgi?id=1214675
  * https://bugzilla.suse.com/show_bug.cgi?id=1219306
  * https://bugzilla.suse.com/show_bug.cgi?id=1219559
  * https://bugzilla.suse.com/show_bug.cgi?id=1220970
  * https://bugzilla.suse.com/show_bug.cgi?id=1222537

SUSE: 2024:1667-1 moderate: python Security Advisory Updates

May 16, 2024
* bsc#1214675 * bsc#1219306 * bsc#1219559 * bsc#1220970 * bsc#1222537

Summary

## This update for python fixes the following issues: * CVE-2023-52425: Fixed using the system libexpat (bsc#1219559). * CVE-2023-27043: Modifed fix for unicode string handling in email.utils.parseaddr() (bsc#1222537). * CVE-2022-48560: Fixed use-after-free in Python via heappushpop in heapq (bsc#1214675). Bug fixes: * Switch off tests. ONLY FOR FACTORY!!! (bsc#1219306). * Build with -std=gnu89 to build correctly with gcc14 (bsc#1220970). * Switch from %patchN style to the %patch -P N one. ## 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 Enterprise Workstation Extension 12 12-SP5 zypper in -t patch SUSE-SLE-WE-12-SP5-2024-1667=1 * SUSE Linux Enterprise High Performance Computing 12 SP5 zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-1667=1 * SUSE Linux Enterprise Server 12 SP5 zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-1667=1 * SUSE Linux Enterprise Server for SAP Applications 12 SP5 zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-1667=1 ## Package List: * SUSE Linux Enterprise Workstation Extension 12 12-SP5 (x86_64) * python-base-debugsource-2.7.18-33.32.1 * python-base-debuginfo-2.7.18-33.32.1 * python-devel-2.7.18-33.32.1 * SUSE Linux Enterprise High Performance Computing 12 SP5 (aarch64 x86_64) * python-xml-debuginfo-2.7.18-33.32.1 * python-xml-2.7.18-33.32.1 * python-2.7.18-33.32.1 * python-debugsource-2.7.18-33.32.1 * libpython2_7-1_0-2.7.18-33.32.1 * python-base-debugsource-2.7.18-33.32.1 * python-debuginfo-2.7.18-33.32.1 * python-base-2.7.18-33.32.1 * python-curses-debuginfo-2.7.18-33.32.1 * python-curses-2.7.18-33.32.1 * python-gdbm-2.7.18-33.32.1 * python-devel-2.7.18-33.32.1 * python-idle-2.7.18-33.32.1 * python-base-debuginfo-2.7.18-33.32.1 * python-tk-2.7.18-33.32.1 * python-tk-debuginfo-2.7.18-33.32.1 * libpython2_7-1_0-debuginfo-2.7.18-33.32.1 * python-gdbm-debuginfo-2.7.18-33.32.1 * python-demo-2.7.18-33.32.1 * SUSE Linux Enterprise High Performance Computing 12 SP5 (noarch) * python-doc-2.7.18-33.32.1 * python-doc-pdf-2.7.18-33.32.1 * SUSE Linux Enterprise High Performance Computing 12 SP5 (x86_64) * python-base-32bit-2.7.18-33.32.1 * python-base-debuginfo-32bit-2.7.18-33.32.1 * libpython2_7-1_0-32bit-2.7.18-33.32.1 * python-debuginfo-32bit-2.7.18-33.32.1 * libpython2_7-1_0-debuginfo-32bit-2.7.18-33.32.1 * python-32bit-2.7.18-33.32.1 * SUSE Linux Enterprise Server 12 SP5 (aarch64 ppc64le s390x x86_64) * python-xml-debuginfo-2.7.18-33.32.1 * python-xml-2.7.18-33.32.1 * python-2.7.18-33.32.1 * python-debugsource-2.7.18-33.32.1 * libpython2_7-1_0-2.7.18-33.32.1 * python-base-debugsource-2.7.18-33.32.1 * python-debuginfo-2.7.18-33.32.1 * python-base-2.7.18-33.32.1 * python-curses-debuginfo-2.7.18-33.32.1 * python-curses-2.7.18-33.32.1 * python-gdbm-2.7.18-33.32.1 * python-devel-2.7.18-33.32.1 * python-idle-2.7.18-33.32.1 * python-base-debuginfo-2.7.18-33.32.1 * python-tk-2.7.18-33.32.1 * python-tk-debuginfo-2.7.18-33.32.1 * libpython2_7-1_0-debuginfo-2.7.18-33.32.1 * python-gdbm-debuginfo-2.7.18-33.32.1 * python-demo-2.7.18-33.32.1 * SUSE Linux Enterprise Server 12 SP5 (noarch) * python-doc-2.7.18-33.32.1 * python-doc-pdf-2.7.18-33.32.1 * SUSE Linux Enterprise Server 12 SP5 (s390x x86_64) * python-base-32bit-2.7.18-33.32.1 * python-base-debuginfo-32bit-2.7.18-33.32.1 * libpython2_7-1_0-32bit-2.7.18-33.32.1 * python-debuginfo-32bit-2.7.18-33.32.1 * libpython2_7-1_0-debuginfo-32bit-2.7.18-33.32.1 * python-32bit-2.7.18-33.32.1 * SUSE Linux Enterprise Server for SAP Applications 12 SP5 (ppc64le x86_64) * python-xml-debuginfo-2.7.18-33.32.1 * python-xml-2.7.18-33.32.1 * python-2.7.18-33.32.1 * python-debugsource-2.7.18-33.32.1 * libpython2_7-1_0-2.7.18-33.32.1 * python-base-debugsource-2.7.18-33.32.1 * python-debuginfo-2.7.18-33.32.1 * python-base-2.7.18-33.32.1 * python-curses-debuginfo-2.7.18-33.32.1 * python-curses-2.7.18-33.32.1 * python-gdbm-2.7.18-33.32.1 * python-devel-2.7.18-33.32.1 * python-idle-2.7.18-33.32.1 * python-base-debuginfo-2.7.18-33.32.1 * python-tk-2.7.18-33.32.1 * python-tk-debuginfo-2.7.18-33.32.1 * libpython2_7-1_0-debuginfo-2.7.18-33.32.1 * python-gdbm-debuginfo-2.7.18-33.32.1 * python-demo-2.7.18-33.32.1 * SUSE Linux Enterprise Server for SAP Applications 12 SP5 (noarch) * python-doc-2.7.18-33.32.1 * python-doc-pdf-2.7.18-33.32.1 * SUSE Linux Enterprise Server for SAP Applications 12 SP5 (x86_64) * python-base-32bit-2.7.18-33.32.1 * python-base-debuginfo-32bit-2.7.18-33.32.1 * libpython2_7-1_0-32bit-2.7.18-33.32.1 * python-debuginfo-32bit-2.7.18-33.32.1 * libpython2_7-1_0-debuginfo-32bit-2.7.18-33.32.1 * python-32bit-2.7.18-33.32.1

References

* bsc#1214675

* bsc#1219306

* bsc#1219559

* bsc#1220970

* bsc#1222537

Cross-

* CVE-2022-48560

* CVE-2023-27043

* CVE-2023-52425

CVSS scores:

* CVE-2022-48560 ( SUSE ): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

* CVE-2022-48560 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

* CVE-2023-27043 ( SUSE ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

* CVE-2023-27043 ( NVD ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

* CVE-2023-52425 ( SUSE ): 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

* CVE-2023-52425 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products:

* SUSE Linux Enterprise High Performance Computing 12 SP5

* SUSE Linux Enterprise Server 12 SP5

* SUSE Linux Enterprise Server for SAP Applications 12 SP5

* SUSE Linux Enterprise Workstation Extension 12 12-SP5

An update that solves three vulnerabilities and has two security fixes can now

be installed.

##

* https://www.suse.com/security/cve/CVE-2022-48560.html

* https://www.suse.com/security/cve/CVE-2023-27043.html

* https://www.suse.com/security/cve/CVE-2023-52425.html

* https://bugzilla.suse.com/show_bug.cgi?id=1214675

* https://bugzilla.suse.com/show_bug.cgi?id=1219306

* https://bugzilla.suse.com/show_bug.cgi?id=1219559

* https://bugzilla.suse.com/show_bug.cgi?id=1220970

* https://bugzilla.suse.com/show_bug.cgi?id=1222537

Severity
Announcement ID: SUSE-SU-2024:1667-1
Rating: moderate

Related News