Security update for python

Announcement ID: SUSE-SU-2024:1862-1
Rating: moderate
References:
Cross-References:
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
  • CVE-2024-0450 ( SUSE ): 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products:
  • openSUSE Leap 15.5
  • openSUSE Leap 15.6
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise Desktop 15 SP6
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Micro 5.5
  • SUSE Linux Enterprise Real Time 15 SP5
  • SUSE Linux Enterprise Real Time 15 SP6
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server 15 SP6
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • SUSE Package Hub 15 15-SP5
  • SUSE Package Hub 15 15-SP6

An update that solves four 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).
  • CVE-2024-0450: Detect the vulnerability of the "quoted-overlap" zipbomb (bsc#1221854).

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:

  • openSUSE Leap 15.5
    zypper in -t patch openSUSE-SLE-15.5-2024-1862=1
  • openSUSE Leap 15.6
    zypper in -t patch openSUSE-SLE-15.6-2024-1862=1
  • SUSE Package Hub 15 15-SP5
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-1862=1
  • SUSE Package Hub 15 15-SP6
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2024-1862=1

Package List:

  • openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
    • python-debugsource-2.7.18-150000.65.1
    • python-devel-2.7.18-150000.65.1
    • python-base-debugsource-2.7.18-150000.65.1
    • python-debuginfo-2.7.18-150000.65.1
    • libpython2_7-1_0-2.7.18-150000.65.1
    • python-idle-2.7.18-150000.65.1
    • python-demo-2.7.18-150000.65.1
    • python-tk-debuginfo-2.7.18-150000.65.1
    • python-gdbm-debuginfo-2.7.18-150000.65.1
    • python-2.7.18-150000.65.1
    • python-base-2.7.18-150000.65.1
    • python-curses-2.7.18-150000.65.1
    • libpython2_7-1_0-debuginfo-2.7.18-150000.65.1
    • python-base-debuginfo-2.7.18-150000.65.1
    • python-curses-debuginfo-2.7.18-150000.65.1
    • python-xml-2.7.18-150000.65.1
    • python-tk-2.7.18-150000.65.1
    • python-gdbm-2.7.18-150000.65.1
    • python-xml-debuginfo-2.7.18-150000.65.1
  • openSUSE Leap 15.5 (x86_64)
    • python-32bit-2.7.18-150000.65.1
    • python-32bit-debuginfo-2.7.18-150000.65.1
    • python-base-32bit-debuginfo-2.7.18-150000.65.1
    • python-base-32bit-2.7.18-150000.65.1
    • libpython2_7-1_0-32bit-debuginfo-2.7.18-150000.65.1
    • libpython2_7-1_0-32bit-2.7.18-150000.65.1
  • openSUSE Leap 15.5 (noarch)
    • python-doc-2.7.18-150000.65.1
    • python-doc-pdf-2.7.18-150000.65.1
  • openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64)
    • python-debugsource-2.7.18-150000.65.1
    • python-devel-2.7.18-150000.65.1
    • python-base-debugsource-2.7.18-150000.65.1
    • python-debuginfo-2.7.18-150000.65.1
    • libpython2_7-1_0-2.7.18-150000.65.1
    • python-idle-2.7.18-150000.65.1
    • python-demo-2.7.18-150000.65.1
    • python-tk-debuginfo-2.7.18-150000.65.1
    • python-gdbm-debuginfo-2.7.18-150000.65.1
    • python-2.7.18-150000.65.1
    • python-base-2.7.18-150000.65.1
    • python-curses-2.7.18-150000.65.1
    • libpython2_7-1_0-debuginfo-2.7.18-150000.65.1
    • python-base-debuginfo-2.7.18-150000.65.1
    • python-curses-debuginfo-2.7.18-150000.65.1
    • python-xml-2.7.18-150000.65.1
    • python-tk-2.7.18-150000.65.1
    • python-gdbm-2.7.18-150000.65.1
    • python-xml-debuginfo-2.7.18-150000.65.1
  • openSUSE Leap 15.6 (x86_64)
    • python-32bit-2.7.18-150000.65.1
    • python-32bit-debuginfo-2.7.18-150000.65.1
    • python-base-32bit-debuginfo-2.7.18-150000.65.1
    • python-base-32bit-2.7.18-150000.65.1
    • libpython2_7-1_0-32bit-debuginfo-2.7.18-150000.65.1
    • libpython2_7-1_0-32bit-2.7.18-150000.65.1
  • openSUSE Leap 15.6 (noarch)
    • python-doc-2.7.18-150000.65.1
    • python-doc-pdf-2.7.18-150000.65.1
  • SUSE Package Hub 15 15-SP5 (aarch64 ppc64le s390x x86_64)
    • python-debugsource-2.7.18-150000.65.1
    • python-devel-2.7.18-150000.65.1
    • python-base-debugsource-2.7.18-150000.65.1
    • python-debuginfo-2.7.18-150000.65.1
    • libpython2_7-1_0-2.7.18-150000.65.1
    • python-gdbm-debuginfo-2.7.18-150000.65.1
    • python-2.7.18-150000.65.1
    • python-base-2.7.18-150000.65.1
    • python-curses-2.7.18-150000.65.1
    • libpython2_7-1_0-debuginfo-2.7.18-150000.65.1
    • python-base-debuginfo-2.7.18-150000.65.1
    • python-curses-debuginfo-2.7.18-150000.65.1
    • python-xml-2.7.18-150000.65.1
    • python-gdbm-2.7.18-150000.65.1
    • python-xml-debuginfo-2.7.18-150000.65.1
  • SUSE Package Hub 15 15-SP6 (aarch64 ppc64le s390x x86_64)
    • python-debugsource-2.7.18-150000.65.1
    • python-base-debugsource-2.7.18-150000.65.1
    • python-debuginfo-2.7.18-150000.65.1
    • libpython2_7-1_0-2.7.18-150000.65.1
    • python-gdbm-debuginfo-2.7.18-150000.65.1
    • python-2.7.18-150000.65.1
    • python-base-2.7.18-150000.65.1
    • python-curses-2.7.18-150000.65.1
    • libpython2_7-1_0-debuginfo-2.7.18-150000.65.1
    • python-base-debuginfo-2.7.18-150000.65.1
    • python-curses-debuginfo-2.7.18-150000.65.1
    • python-xml-2.7.18-150000.65.1
    • python-gdbm-2.7.18-150000.65.1
    • python-xml-debuginfo-2.7.18-150000.65.1

References: