Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2021:1807-1

Опубликовано: 31 мая 2021
Источник: suse-cvrf

Описание

Security update for python-httplib2

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

    • bugfixes
  • 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 Redirects
    • 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 data
  • Update to 0.14.0:

    • Python3: PROXY_TYPE_SOCKS5 with str user/pass raised TypeError
  • version update to 0.13.1 0.13.1

  • deleted patches httplib2 started to use certifi and this is already bent to use system certificate bundle.

  • handle the case when validation is disabled correctly. The 'check_hostname' context attribute has to be set first, othewise a 'ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled.' exception is raised.

  • handle the case with ssl_version being None correctly

  • Use ssl.create_default_context in the python2 case so that the system wide certificates are loaded as trusted again.

  • Source url must be https.

  • Spec file cleanups

  • Update to 0.10.3

    • Fix certificate validation on Python<=2.7.8 without ssl.CertificateError
  • Update to 0.10.2

    • Just a reupload of 0.10.1, which was broken for Python3 because wheel distribution doesn't play well with our 2/3 split code base.
  • Update to 0.10.1

    • Remove VeriSign Class 3 CA from trusted certs
    • Add IdenTrust DST Root CA X3
    • Support for specifying the SSL protocol version (Python v2)
    • On App Engine use urlfetch's default deadline if None is passed.
    • Fix TypeError on AppEngine “init() got an unexpected keyword argument 'ssl_version’”
    • Send SNI data for SSL connections on Python 2.7.9+
    • Verify the server hostname if certificate validation is enabled
    • Add proxy_headers argument to ProxyInfo constructor
    • Make disable_ssl_certificate_validation work with Python 3.5.
    • Fix socket error handling
  • Remove httplib2-bnc-818100.patch, merged upstream.

  • Project moved from code.google.com to GitHub, fix the url accordingly

  • attempt to build multi-python

  • update and cleanup of httplib2-use-system-certs.patch, so that the passthrough is clean for python2 and so that it does the right thing in python3

Список пакетов

Image SLES12-SP5-GCE-SAP-BYOS
python-httplib2-0.19.0-7.7.1
Image SLES12-SP5-GCE-SAP-On-Demand
python-httplib2-0.19.0-7.7.1
SUSE Linux Enterprise Module for Public Cloud 12
python-httplib2-0.19.0-7.7.1
SUSE OpenStack Cloud 7
python-httplib2-0.19.0-7.7.1

Описание

In httplib2 before version 0.18.0, an attacker controlling unescaped part of uri for `httplib2.Http.request()` could change request headers and body, send additional hidden requests to same server. This vulnerability impacts software that uses httplib2 with uri constructed by string concatenation, as opposed to proper urllib building with escaping. This has been fixed in 0.18.0.


Затронутые продукты
Image SLES12-SP5-GCE-SAP-BYOS:python-httplib2-0.19.0-7.7.1
Image SLES12-SP5-GCE-SAP-On-Demand:python-httplib2-0.19.0-7.7.1
SUSE Linux Enterprise Module for Public Cloud 12:python-httplib2-0.19.0-7.7.1
SUSE OpenStack Cloud 7:python-httplib2-0.19.0-7.7.1

Ссылки

Описание

httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of "\xa0" characters in the "www-authenticate" header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.


Затронутые продукты
Image SLES12-SP5-GCE-SAP-BYOS:python-httplib2-0.19.0-7.7.1
Image SLES12-SP5-GCE-SAP-On-Demand:python-httplib2-0.19.0-7.7.1
SUSE Linux Enterprise Module for Public Cloud 12:python-httplib2-0.19.0-7.7.1
SUSE OpenStack Cloud 7:python-httplib2-0.19.0-7.7.1

Ссылки
Уязвимость SUSE-SU-2021:1807-1