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
| Ecosystem | Package | Affected versions |
|---|---|---|
| SUSE:HPE Helion OpenStack 8 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:HPE Helion OpenStack 8 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:HPE Helion OpenStack 8 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:HPE Helion OpenStack 8 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:OpenStack Cloud 7 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:OpenStack Cloud 7 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:OpenStack Cloud 7 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:OpenStack Cloud 7 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:OpenStack Cloud 8 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:OpenStack Cloud 8 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:OpenStack Cloud 8 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:OpenStack Cloud 8 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:OpenStack Cloud Crowbar 8 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:OpenStack Cloud Crowbar 8 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:OpenStack Cloud Crowbar 8 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:OpenStack Cloud Crowbar 8 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Module for Public Cloud 12 | python-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 12 | python-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 12 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | python-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 SP2 | python-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 SP2 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | python-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 SP3 | python-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 SP3 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | python-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 SP5 | python-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 SP5 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server 12 SP2-LTSS | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server 12 SP2-BCL | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Server 12 SP2-BCL | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Server 12 SP2-BCL | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server 12 SP2-BCL | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server 12 SP3-LTSS | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Server 12 SP3-LTSS | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Server 12 SP3-LTSS | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server 12 SP3-LTSS | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server 12 SP3-BCL | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Server 12 SP3-BCL | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Server 12 SP3-BCL | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server 12 SP3-BCL | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server 12 SP4 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Server 12 SP4 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Server 12 SP4 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server 12 SP4 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | python-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 SP4 | python-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 SP4 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server 12 SP5 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Server 12 SP5 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Server 12 SP5 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server 12 SP5 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | python-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 SP5 | python-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 SP5 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Manager Proxy 3.2 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Manager Proxy 3.2 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Manager Proxy 3.2 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Manager Proxy 3.2 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Manager Server 3.2 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Manager Server 3.2 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Manager Server 3.2 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Manager Server 3.2 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
| SUSE:Enterprise Storage 5 | python-certifi | All versions before 2018.4.16-3.6.1 (fixed in 2018.4.16-3.6.1) |
| SUSE:Enterprise Storage 5 | python-chardet | All versions before 3.0.4-5.6.1 (fixed in 3.0.4-5.6.1) |
| SUSE:Enterprise Storage 5 | python-urllib3 | All versions before 1.22-3.20.1 (fixed in 1.22-3.20.1) |
| SUSE:Enterprise Storage 5 | python3-requests | All versions before 2.20.1-5.2 (fixed in 2.20.1-5.2) |
References
- https://www.suse.com/support/update/announcement/2020/suse-su-20201792-1/
- https://bugzilla.suse.com/1054413
- https://bugzilla.suse.com/1073879
- https://bugzilla.suse.com/1111622
- https://bugzilla.suse.com/1122668
- https://bugzilla.suse.com/761500
- https://bugzilla.suse.com/922448
- https://bugzilla.suse.com/929736
- https://bugzilla.suse.com/935252
- https://bugzilla.suse.com/945455
- https://bugzilla.suse.com/947357
- https://bugzilla.suse.com/961596
- https://bugzilla.suse.com/967128
- https://www.suse.com/security/cve/CVE-2015-2296
- https://www.suse.com/security/cve/CVE-2018-18074