openSUSE Security Update: Security update for python-httplib2

Announcement ID:    openSUSE-SU-2021:0772-1
Rating:             moderate
References:         #1171998 #1182053 
Cross-References:   CVE-2020-11078 CVE-2021-21240
CVSS scores:
                    CVE-2020-11078 (NVD) : 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
                    CVE-2020-11078 (SUSE): 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
                    CVE-2021-21240 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
                    CVE-2021-21240 (SUSE): 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Products:
                    openSUSE Leap 15.2

   An update that fixes two vulnerabilities is now available.


   This update for python-httplib2 contains the following fixes:

   Security fixes included in this update:
   - CVE-2021-21240: Fixed a regular expression denial of service via
     malicious header (bsc#1182053).
   - CVE-2020-11078: Fixed an issue where an attacker could change request
     headers and body (bsc#1171998).

   Non security fixes included in this update:
   - Update in SLE to 0.19.0 (bsc#1182053, CVE-2021-21240)

   - update to 0.19.0:
     * auth: parse headers using pyparsing instead of regexp
     * auth: WSSE token needs to be string not bytes

   - update to 0.18.1: (bsc#1171998, CVE-2020-11078)
     * explicit build-backend workaround for pip build isolation bug
     * IMPORTANT security vulnerability CWE-93 CRLF injection Force %xx quote
       of space, CR, LF characters in uri.
     * Ship test suite in source dist

   - Update to 0.17.1
     * python3: no_proxy was not checked with https
     * feature: Http().redirect_codes set, works after follow(_all)_redirects
       check This allows one line workaround for old gcloud library that uses
       308 response without redirect semantics.
     * IMPORTANT cache invalidation change, fix 307 keep method, add 308
     * proxy: username/password as str compatible with pysocks
     * python2: regression in connect() error handling
     * add support for password protected certificate files
     * feature: Http.close() to clean persistent connections and sensitive

   - Update to 0.14.0:
     * Python3: PROXY_TYPE_SOCKS5 with str user/pass raised TypeError

   - version update to 0.13.1 0.13.1
      * Python3: Use no_proxy
       * Allow setting TLS max/min versions 0.12.3
       * No changes to library. Distribute py3 wheels. 0.12.1
       * Catch socket timeouts and clear dead connection
       * Officially support Python 3.7 (package metadata) 0.12.0
       * Drop support for Python 3.3
       * ca_certs from environment HTTPLIB2_CA_CERTS or certifi
       * PROXY_TYPE_HTTP with non-empty user/pass raised TypeError: bytes
       * Revert https:443->https workaround
       * eliminate connection pool read race
       * cache: stronger safename 0.11.3
       * No changes, just reupload of 0.11.2 after fixing automatic release
         conditions in Travis. 0.11.2
       * proxy: py3 NameError basestring 0.11.1
       * Fix HTTP(S)ConnectionWithTimeout AttributeError proxy_info 0.11.0
       * Add DigiCert Global Root G2 serial 033af1e6a711a9a0bb2864b11d09fae5
       * python3 proxy support
       * If no_proxy environment value ends with comma then proxy is not used
       * fix UnicodeDecodeError using socks5 proxy
       * Respect NO_PROXY env var in proxy_info_from_url
       * NO_PROXY=bar was matching foobar (suffix without dot delimiter) New
         behavior matches curl/wget:
         - will only skip proxy for exact hostname match
         - no_proxy=.wild.card will skip proxy for any.subdomains.wild.card
       * Bugfix for Content-Encoding: deflate
   - deleted patches
     - Removing certifi patch: httplib2 started to use certifi and this is
       already bent to use system certificate bundle by another patch

   This update was imported from the SUSE:SLE-15:Update update project.

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.2:

      zypper in -t patch openSUSE-2021-772=1

Package List:

   - openSUSE Leap 15.2 (noarch):