ADVISORIES

SUSE Security Update

SUSE-SU-2020:1792-1

Security update for python3-requests

Details

This update for python3-requests provides the following fix:

python-requests was updated to 2.20.1.

Update to version 2.20.1:

  • Fixed bug with unintended Authorization header stripping for

redirects using default ports (http/80, https/443).

Update to version 2.20.0:

  • Bugfixes
  • Content-Type header parsing is now case-insensitive

(e.g. charset=utf8 v Charset=utf8).

  • Fixed exception leak where certain redirect urls would raise

uncaught urllib3 exceptions.

  • Requests removes Authorization header from requests redirected

from https to http on the same hostname. (CVE-2018-18074)

  • should_bypass_proxies now handles URIs without hostnames

(e.g. files).

Update to version 2.19.1:

  • Fixed issue where status_codes.py’s init function failed trying

to append to a __doc__ value of None.

Update to version 2.19.0:

  • Improvements
  • Warn about possible slowdown with cryptography version < 1.3.4
  • Check host in proxy URL, before forwarding request to adapter.
  • Maintain fragments properly across redirects. (RFC7231 7.1.2)
  • Removed use of cgi module to expedite library load time.
  • Added support for SHA-256 and SHA-512 digest auth algorithms.
  • Minor performance improvement to Request.content.
  • Bugfixes
  • Parsing empty Link headers with parse_header_links() no longer

return one bogus entry.

  • Fixed issue where loading the default certificate bundle from

a zip archive would raise an IOError.

  • Fixed issue with unexpected ImportError on windows system

which do not support winreg module.

  • DNS resolution in proxy bypass no longer includes the username

and password in the request. This also fixes the issue of DNS queries failing on macOS.

  • Properly normalize adapter prefixes for url comparison.
  • Passing None as a file pointer to the files param no longer

raises an exception.

  • Calling copy on a RequestsCookieJar will now preserve the

cookie policy correctly.

Update to version 2.18.4:

  • Improvements
  • Error messages for invalid headers now include the header name

for easier debugging

Update to version 2.18.3:

  • Improvements
  • Running $ python -m requests.help now includes the installed

version of idna.

  • Bugfixes
  • Fixed issue where Requests would raise ConnectionError instead

of SSLError when encountering SSL problems when using urllib3 v1.22.

  • Add ca-certificates (and ca-certificates-mozilla) to dependencies, otherwise https

connections will fail.

Affected packages

EcosystemPackageAffected versions
SUSE:HPE Helion OpenStack 8python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:HPE Helion OpenStack 8python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:HPE Helion OpenStack 8python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:HPE Helion OpenStack 8python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:OpenStack Cloud 7python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:OpenStack Cloud 7python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:OpenStack Cloud 7python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:OpenStack Cloud 7python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:OpenStack Cloud 8python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:OpenStack Cloud 8python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:OpenStack Cloud 8python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:OpenStack Cloud 8python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:OpenStack Cloud Crowbar 8python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:OpenStack Cloud Crowbar 8python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:OpenStack Cloud Crowbar 8python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:OpenStack Cloud Crowbar 8python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Module for Public Cloud 12python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Module for Public Cloud 12python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Module for Public Cloud 12python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP2python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP2python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP2python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP2python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server for SAP Applications 12 SP3python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP3python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP3python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP3python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Software Development Kit 12 SP5python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Software Development Kit 12 SP5python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Software Development Kit 12 SP5python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Software Development Kit 12 SP5python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server 12 SP2-LTSSpython-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server 12 SP2-LTSSpython-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server 12 SP2-LTSSpython-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server 12 SP2-LTSSpython3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server 12 SP2-BCLpython-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server 12 SP2-BCLpython-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server 12 SP2-BCLpython-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server 12 SP2-BCLpython3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server 12 SP3-LTSSpython-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server 12 SP3-LTSSpython-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server 12 SP3-LTSSpython-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server 12 SP3-LTSSpython3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server 12 SP3-BCLpython-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server 12 SP3-BCLpython-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server 12 SP3-BCLpython-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server 12 SP3-BCLpython3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server 12 SP4python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server 12 SP4python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server 12 SP4python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server 12 SP4python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server for SAP Applications 12 SP4python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP4python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP4python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP4python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server 12 SP5python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server 12 SP5python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server 12 SP5python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server 12 SP5python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Server for SAP Applications 12 SP5python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP5python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP5python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Server for SAP Applications 12 SP5python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Linux Enterprise Workstation Extension 12 SP5python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Linux Enterprise Workstation Extension 12 SP5python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Linux Enterprise Workstation Extension 12 SP5python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Linux Enterprise Workstation Extension 12 SP5python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Manager Proxy 3.2python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Manager Proxy 3.2python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Manager Proxy 3.2python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Manager Proxy 3.2python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Manager Server 3.2python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Manager Server 3.2python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Manager Server 3.2python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Manager Server 3.2python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)
SUSE:Enterprise Storage 5python-certifi
All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1)
SUSE:Enterprise Storage 5python-chardet
All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1)
SUSE:Enterprise Storage 5python-urllib3
All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1)
SUSE:Enterprise Storage 5python3-requests
All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2)

References