Summary
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.
Fixed packages 79
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Enterprise Storage 5 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · Enterprise Storage 5 | python-chardet | 3.0.4-5.6.1 |
| SUSE · Enterprise Storage 5 | python-urllib3 | 1.22-3.20.1 |
| SUSE · Enterprise Storage 5 | python3-requests | 2.20.1-5.2 |
| SUSE · HPE Helion OpenStack 8 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · HPE Helion OpenStack 8 | python-chardet | 3.0.4-5.6.1 |
| SUSE · HPE Helion OpenStack 8 | python-urllib3 | 1.22-3.20.1 |
| SUSE · HPE Helion OpenStack 8 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 Linux Enterprise Module for Public Cloud 12 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 Linux Enterprise Module for Public Cloud 12 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 Linux Enterprise Module for Public Cloud 12 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-LTSS | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-LTSS | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-LTSS | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-LTSS | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-LTSS | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-LTSS | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-LTSS | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-LTSS | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES for SAP 12 SP2 Linux Enterprise Server for SAP Applications 12 SP2 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES for SAP 12 SP2 Linux Enterprise Server for SAP Applications 12 SP2 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES for SAP 12 SP2 Linux Enterprise Server for SAP Applications 12 SP2 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES for SAP 12 SP2 Linux Enterprise Server for SAP Applications 12 SP2 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES for SAP 12 SP3 Linux Enterprise Server for SAP Applications 12 SP3 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 | python3-requests | 2.20.1-5.2 |
| SUSE · SLES 12 SP5 Linux Enterprise Workstation Extension 12 SP5 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Workstation Extension 12 SP5 | python-chardet | 3.0.4-5.6.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Workstation Extension 12 SP5 | python-urllib3 | 1.22-3.20.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Workstation Extension 12 SP5 | python3-requests | 2.20.1-5.2 |
| SUSE · Manager Proxy 3.2 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · Manager Proxy 3.2 | python-chardet | 3.0.4-5.6.1 |
| SUSE · Manager Proxy 3.2 | python-urllib3 | 1.22-3.20.1 |
| SUSE · Manager Proxy 3.2 | python3-requests | 2.20.1-5.2 |
| SUSE · Manager Server 3.2 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · Manager Server 3.2 | python-chardet | 3.0.4-5.6.1 |
| SUSE · Manager Server 3.2 | python-urllib3 | 1.22-3.20.1 |
| SUSE · Manager Server 3.2 | python3-requests | 2.20.1-5.2 |
| SUSE · OpenStack Cloud 7 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · OpenStack Cloud 7 | python-chardet | 3.0.4-5.6.1 |
| SUSE · OpenStack Cloud 7 | python-urllib3 | 1.22-3.20.1 |
| SUSE · OpenStack Cloud 7 | python3-requests | 2.20.1-5.2 |
| SUSE · OpenStack Cloud 8 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · OpenStack Cloud 8 | python-chardet | 3.0.4-5.6.1 |
| SUSE · OpenStack Cloud 8 | python-urllib3 | 1.22-3.20.1 |
| SUSE · OpenStack Cloud 8 | python3-requests | 2.20.1-5.2 |
| SUSE · OpenStack Cloud Crowbar 8 | python-certifi | 2018.4.16-3.6.1 |
| SUSE · OpenStack Cloud Crowbar 8 | python-chardet | 3.0.4-5.6.1 |
| SUSE · OpenStack Cloud Crowbar 8 | python-urllib3 | 1.22-3.20.1 |
| SUSE · OpenStack Cloud Crowbar 8 | python3-requests | 2.20.1-5.2 |
Vulnerabilities 2
-
High 7.5CVE-2018-18074 Public exploit
Insufficiently Protected Credentials in Requests
The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.
-
Medium —
Python Requests Session Fixation
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.
References
-
report
https://bugzilla.suse.com/1054413
-
report
https://bugzilla.suse.com/1073879
-
report
https://bugzilla.suse.com/1111622
-
report
https://bugzilla.suse.com/1122668
-
report
https://bugzilla.suse.com/761500
-
report
https://bugzilla.suse.com/922448
-
report
https://bugzilla.suse.com/929736
-
report
https://bugzilla.suse.com/935252
-
report
https://bugzilla.suse.com/945455
-
report
https://bugzilla.suse.com/947357
-
report
https://bugzilla.suse.com/961596
-
report
https://bugzilla.suse.com/967128
-
web
https://www.suse.com/security/cve/CVE-2015-2296
-
web
https://www.suse.com/security/cve/CVE-2018-18074