openSUSE Security Update: Security update for python
______________________________________________________________________________

Announcement ID:    openSUSE-SU-2022:1091-1
Rating:             moderate
References:         #1175619 #1186819 #1194146 #1195396 
Cross-References:   CVE-2021-3572 CVE-2021-4189 CVE-2022-0391
                   
CVSS scores:
                    CVE-2021-3572 (SUSE): 4.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
                    CVE-2021-4189 (SUSE): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
                    CVE-2022-0391 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
                    CVE-2022-0391 (SUSE): 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected Products:
                    openSUSE Leap 15.3
                    openSUSE Leap 15.4
______________________________________________________________________________

   An update that solves three vulnerabilities and has one
   errata is now available.

Description:

   This update for python fixes the following issues:

   - CVE-2022-0391: Fixed URL sanitization containing ASCII newline and tabs
     in urlparse (bsc#1195396).
   - CVE-2021-4189: Fixed ftplib not to trust the PASV response (bsc#1194146).
   - CVE-2021-3572: Fixed an improper handling of unicode characters in pip
     (bsc#1186819).


Patch Instructions:

   To install this openSUSE Security 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.4:

      zypper in -t patch openSUSE-SLE-15.4-2022-1091=1

   - openSUSE Leap 15.3:

      zypper in -t patch openSUSE-SLE-15.3-2022-1091=1



Package List:

   - openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64):

      libpython2_7-1_0-2.7.18-150000.38.2
      libpython2_7-1_0-debuginfo-2.7.18-150000.38.2
      python-2.7.18-150000.38.1
      python-base-2.7.18-150000.38.2
      python-base-debuginfo-2.7.18-150000.38.2
      python-base-debugsource-2.7.18-150000.38.2
      python-curses-2.7.18-150000.38.1
      python-curses-debuginfo-2.7.18-150000.38.1
      python-debuginfo-2.7.18-150000.38.1
      python-debugsource-2.7.18-150000.38.1
      python-demo-2.7.18-150000.38.1
      python-devel-2.7.18-150000.38.2
      python-gdbm-2.7.18-150000.38.1
      python-gdbm-debuginfo-2.7.18-150000.38.1
      python-idle-2.7.18-150000.38.1
      python-tk-2.7.18-150000.38.1
      python-tk-debuginfo-2.7.18-150000.38.1
      python-xml-2.7.18-150000.38.2
      python-xml-debuginfo-2.7.18-150000.38.2

   - openSUSE Leap 15.4 (noarch):

      python-doc-2.7.18-150000.38.1
      python-doc-pdf-2.7.18-150000.38.1

   - openSUSE Leap 15.4 (x86_64):

      libpython2_7-1_0-32bit-2.7.18-150000.38.2
      libpython2_7-1_0-32bit-debuginfo-2.7.18-150000.38.2
      python-32bit-2.7.18-150000.38.1
      python-32bit-debuginfo-2.7.18-150000.38.1
      python-base-32bit-2.7.18-150000.38.2
      python-base-32bit-debuginfo-2.7.18-150000.38.2

   - openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64):

      libpython2_7-1_0-2.7.18-150000.38.2
      libpython2_7-1_0-debuginfo-2.7.18-150000.38.2
      python-2.7.18-150000.38.1
      python-base-2.7.18-150000.38.2
      python-base-debuginfo-2.7.18-150000.38.2
      python-base-debugsource-2.7.18-150000.38.2
      python-curses-2.7.18-150000.38.1
      python-curses-debuginfo-2.7.18-150000.38.1
      python-debuginfo-2.7.18-150000.38.1
      python-debugsource-2.7.18-150000.38.1
      python-demo-2.7.18-150000.38.1
      python-devel-2.7.18-150000.38.2
      python-gdbm-2.7.18-150000.38.1
      python-gdbm-debuginfo-2.7.18-150000.38.1
      python-idle-2.7.18-150000.38.1
      python-tk-2.7.18-150000.38.1
      python-tk-debuginfo-2.7.18-150000.38.1
      python-xml-2.7.18-150000.38.2
      python-xml-debuginfo-2.7.18-150000.38.2

   - openSUSE Leap 15.3 (x86_64):

      libpython2_7-1_0-32bit-2.7.18-150000.38.2
      libpython2_7-1_0-32bit-debuginfo-2.7.18-150000.38.2
      python-32bit-2.7.18-150000.38.1
      python-32bit-debuginfo-2.7.18-150000.38.1
      python-base-32bit-2.7.18-150000.38.2
      python-base-32bit-debuginfo-2.7.18-150000.38.2

   - openSUSE Leap 15.3 (noarch):

      python-doc-2.7.18-150000.38.1
      python-doc-pdf-2.7.18-150000.38.1


References:

   https://www.suse.com/security/cve/CVE-2021-3572.html
   https://www.suse.com/security/cve/CVE-2021-4189.html
   https://www.suse.com/security/cve/CVE-2022-0391.html
   https://bugzilla.suse.com/1175619
   https://bugzilla.suse.com/1186819
   https://bugzilla.suse.com/1194146
   https://bugzilla.suse.com/1195396