ghc-automation-staging-parallel-4-p1 / 8603278_87

0 stars 0 forks source link

Update dependency urllib3 to v1.26.5 #8

Open staging-whitesource-for-github-com[bot] opened 4 hours ago

staging-whitesource-for-github-com[bot] commented 4 hours ago

This PR contains the following updates:

Package Update Change
urllib3 (changelog) minor ==1.17 -> ==1.26.5

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
Critical 9.8 CVE-2018-20060 #13
High 7.5 CVE-2019-11324 #16
High 7.5 CVE-2021-33503 #18
Medium 6.5 CVE-2020-26137 #9
Medium 6.1 CVE-2019-11236 #15
Medium 6.1 CVE-2019-9740 #10
Low 3.7 CVE-2016-9015 #17

Release Notes

urllib3/urllib3 (urllib3) ### [`v1.26.5`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1265-2021-05-26) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.26.4...1.26.5) \=================== - Fixed deprecation warnings emitted in Python 3.10. - Updated vendored `six` library to 1.16.0. - Improved performance of URL parser when splitting the authority component. ### [`v1.26.4`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1264-2021-03-15) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.26.3...1.26.4) \=================== - Changed behavior of the default `SSLContext` when connecting to HTTPS proxy during HTTPS requests. The default `SSLContext` now sets `check_hostname=True`. ### [`v1.26.3`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1263-2021-01-26) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.26.2...1.26.3) \=================== - Fixed bytes and string comparison issue with headers (Pull [#​2141](https://redirect.github.com/urllib3/urllib3/issues/2141)) - Changed `ProxySchemeUnknown` error message to be more actionable if the user supplies a proxy URL without a scheme. (Pull [#​2107](https://redirect.github.com/urllib3/urllib3/issues/2107)) ### [`v1.26.2`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#12620-2024-08-29) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.26.1...1.26.2) \==================== - Fixed a crash where certain standard library hash functions were absent in FIPS-compliant environments. (`#​3432 `\__) - Replaced deprecated dash-separated setuptools entries in `setup.cfg`. (`#​3461 `\__) - Took into account macOS setting `ECONNRESET` instead of `EPROTOTYPE` in its newer versions. (`#​3416 `\__) - Backported changes to our tests and CI configuration from v2.x to support testing with CPython 3.12 and 3.13. (`#​3436 `\__) ### [`v1.26.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#12619-2024-06-17) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.26.0...1.26.1) \==================== - Added the `Proxy-Authorization` header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via `Retry.remove_headers_on_redirect`. - Fixed handling of OpenSSL 3.2.0 new error message for misconfiguring an HTTP proxy as HTTPS. (`#​3405 `\__) ### [`v1.26.0`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1260-2020-11-10) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.11...1.26.0) \=================== - **NOTE: urllib3 v2.0 will drop support for Python 2**. `Read more in the v2.0 Roadmap `\_. - Added support for HTTPS proxies contacting HTTPS servers (Pull [#​1923](https://redirect.github.com/urllib3/urllib3/issues/1923), Pull [#​1806](https://redirect.github.com/urllib3/urllib3/issues/1806)) - Deprecated negotiating TLSv1 and TLSv1.1 by default. Users that still wish to use TLS earlier than 1.2 without a deprecation warning should opt-in explicitly by setting `ssl_version=ssl.PROTOCOL_TLSv1_1` (Pull [#​2002](https://redirect.github.com/urllib3/urllib3/issues/2002)) **Starting in urllib3 v2.0: Connections that receive a `DeprecationWarning` will fail** - Deprecated `Retry` options `Retry.DEFAULT_METHOD_WHITELIST`, `Retry.DEFAULT_REDIRECT_HEADERS_BLACKLIST` and `Retry(method_whitelist=...)` in favor of `Retry.DEFAULT_ALLOWED_METHODS`, `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`, and `Retry(allowed_methods=...)` (Pull [#​2000](https://redirect.github.com/urllib3/urllib3/issues/2000)) **Starting in urllib3 v2.0: Deprecated options will be removed** - Added default `User-Agent` header to every request (Pull [#​1750](https://redirect.github.com/urllib3/urllib3/issues/1750)) - Added `urllib3.util.SKIP_HEADER` for skipping `User-Agent`, `Accept-Encoding`, and `Host` headers from being automatically emitted with requests (Pull [#​2018](https://redirect.github.com/urllib3/urllib3/issues/2018)) - Collapse `transfer-encoding: chunked` request data and framing into the same `socket.send()` call (Pull [#​1906](https://redirect.github.com/urllib3/urllib3/issues/1906)) - Send `http/1.1` ALPN identifier with every TLS handshake by default (Pull [#​1894](https://redirect.github.com/urllib3/urllib3/issues/1894)) - Properly terminate SecureTransport connections when CA verification fails (Pull [#​1977](https://redirect.github.com/urllib3/urllib3/issues/1977)) - Don't emit an `SNIMissingWarning` when passing `server_hostname=None` to SecureTransport (Pull [#​1903](https://redirect.github.com/urllib3/urllib3/issues/1903)) - Disabled requesting TLSv1.2 session tickets as they weren't being used by urllib3 (Pull [#​1970](https://redirect.github.com/urllib3/urllib3/issues/1970)) - Suppress `BrokenPipeError` when writing request body after the server has closed the socket (Pull [#​1524](https://redirect.github.com/urllib3/urllib3/issues/1524)) - Wrap `ssl.SSLError` that can be raised from reading a socket (e.g. "bad MAC") into an `urllib3.exceptions.SSLError` (Pull [#​1939](https://redirect.github.com/urllib3/urllib3/issues/1939)) ### [`v1.25.11`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#12511-2020-10-19) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.10...1.25.11) \==================== - Fix retry backoff time parsed from `Retry-After` header when given in the HTTP date format. The HTTP date was parsed as the local timezone rather than accounting for the timezone in the HTTP date (typically UTC) (Pull [#​1932](https://redirect.github.com/urllib3/urllib3/issues/1932), Pull [#​1935](https://redirect.github.com/urllib3/urllib3/issues/1935), Pull [#​1938](https://redirect.github.com/urllib3/urllib3/issues/1938), Pull [#​1949](https://redirect.github.com/urllib3/urllib3/issues/1949)) - Fix issue where an error would be raised when the `SSLKEYLOGFILE` environment variable was set to the empty string. Now `SSLContext.keylog_file` is not set in this situation (Pull [#​2016](https://redirect.github.com/urllib3/urllib3/issues/2016)) ### [`v1.25.10`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#12510-2020-07-22) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.9...1.25.10) \==================== - Added support for `SSLKEYLOGFILE` environment variable for logging TLS session keys with use with programs like Wireshark for decrypting captured web traffic (Pull [#​1867](https://redirect.github.com/urllib3/urllib3/issues/1867)) - Fixed loading of SecureTransport libraries on macOS Big Sur due to the new dynamic linker cache (Pull [#​1905](https://redirect.github.com/urllib3/urllib3/issues/1905)) - Collapse chunked request bodies data and framing into one call to `send()` to reduce the number of TCP packets by 2-4x (Pull [#​1906](https://redirect.github.com/urllib3/urllib3/issues/1906)) - Don't insert `None` into `ConnectionPool` if the pool was empty when requesting a connection (Pull [#​1866](https://redirect.github.com/urllib3/urllib3/issues/1866)) - Avoid `hasattr` call in `BrotliDecoder.decompress()` (Pull [#​1858](https://redirect.github.com/urllib3/urllib3/issues/1858)) ### [`v1.25.9`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1259-2020-04-16) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.8...1.25.9) \=================== - Added `InvalidProxyConfigurationWarning` which is raised when erroneously specifying an HTTPS proxy URL. urllib3 doesn't currently support connecting to HTTPS proxies but will soon be able to and we would like users to migrate properly without much breakage. See `this GitHub issue `\_ for more information on how to fix your proxy config. (Pull [#​1851](https://redirect.github.com/urllib3/urllib3/issues/1851)) - Drain connection after `PoolManager` redirect (Pull [#​1817](https://redirect.github.com/urllib3/urllib3/issues/1817)) - Ensure `load_verify_locations` raises `SSLError` for all backends (Pull [#​1812](https://redirect.github.com/urllib3/urllib3/issues/1812)) - Rename `VerifiedHTTPSConnection` to `HTTPSConnection` (Pull [#​1805](https://redirect.github.com/urllib3/urllib3/issues/1805)) - Allow the CA certificate data to be passed as a string (Pull [#​1804](https://redirect.github.com/urllib3/urllib3/issues/1804)) - Raise `ValueError` if method contains control characters (Pull [#​1800](https://redirect.github.com/urllib3/urllib3/issues/1800)) - Add `__repr__` to `Timeout` (Pull [#​1795](https://redirect.github.com/urllib3/urllib3/issues/1795)) ### [`v1.25.8`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1258-2020-01-20) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.7...1.25.8) \=================== - Drop support for EOL Python 3.4 (Pull [#​1774](https://redirect.github.com/urllib3/urllib3/issues/1774)) - Optimize \_encode_invalid_chars (Pull [#​1787](https://redirect.github.com/urllib3/urllib3/issues/1787)) ### [`v1.25.7`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1257-2019-11-11) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.6...1.25.7) \=================== - Preserve `chunked` parameter on retries (Pull [#​1715](https://redirect.github.com/urllib3/urllib3/issues/1715), Pull [#​1734](https://redirect.github.com/urllib3/urllib3/issues/1734)) - Allow unset `SERVER_SOFTWARE` in App Engine (Pull [#​1704](https://redirect.github.com/urllib3/urllib3/issues/1704), Issue [#​1470](https://redirect.github.com/urllib3/urllib3/issues/1470)) - Fix issue where URL fragment was sent within the request target. (Pull [#​1732](https://redirect.github.com/urllib3/urllib3/issues/1732)) - Fix issue where an empty query section in a URL would fail to parse. (Pull [#​1732](https://redirect.github.com/urllib3/urllib3/issues/1732)) - Remove TLS 1.3 support in SecureTransport due to Apple removing support (Pull [#​1703](https://redirect.github.com/urllib3/urllib3/issues/1703)) ### [`v1.25.6`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1256-2019-09-24) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.5...1.25.6) \=================== - Fix issue where tilde (`~`) characters were incorrectly percent-encoded in the path. (Pull [#​1692](https://redirect.github.com/urllib3/urllib3/issues/1692)) ### [`v1.25.5`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1255-2019-09-19) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.4...1.25.5) \=================== - Add mitigation for BPO-37428 affecting Python <3.7.4 and OpenSSL 1.1.1+ which caused certificate verification to be enabled when using `cert_reqs=CERT_NONE`. (Issue [#​1682](https://redirect.github.com/urllib3/urllib3/issues/1682)) ### [`v1.25.4`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1254-2019-09-19) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.3...1.25.4) \=================== - Propagate Retry-After header settings to subsequent retries. (Pull [#​1607](https://redirect.github.com/urllib3/urllib3/issues/1607)) - Fix edge case where Retry-After header was still respected even when explicitly opted out of. (Pull [#​1607](https://redirect.github.com/urllib3/urllib3/issues/1607)) - Remove dependency on `rfc3986` for URL parsing. - Fix issue where URLs containing invalid characters within `Url.auth` would raise an exception instead of percent-encoding those characters. - Add support for `HTTPResponse.auto_close = False` which makes HTTP responses work well with BufferedReaders and other `io` module features. (Pull [#​1652](https://redirect.github.com/urllib3/urllib3/issues/1652)) - Percent-encode invalid characters in URL for `HTTPConnectionPool.request()` (Pull [#​1673](https://redirect.github.com/urllib3/urllib3/issues/1673)) ### [`v1.25.3`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1253-2019-05-23) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.2...1.25.3) \=================== - Change `HTTPSConnection` to load system CA certificates when `ca_certs`, `ca_cert_dir`, and `ssl_context` are unspecified. (Pull [#​1608](https://redirect.github.com/urllib3/urllib3/issues/1608), Issue [#​1603](https://redirect.github.com/urllib3/urllib3/issues/1603)) - Upgrade bundled rfc3986 to v1.3.2. (Pull [#​1609](https://redirect.github.com/urllib3/urllib3/issues/1609), Issue [#​1605](https://redirect.github.com/urllib3/urllib3/issues/1605)) ### [`v1.25.2`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1252-2019-04-28) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25.1...1.25.2) \=================== - Change `is_ipaddress` to not detect IPvFuture addresses. (Pull [#​1583](https://redirect.github.com/urllib3/urllib3/issues/1583)) - Change `parse_url` to percent-encode invalid characters within the path, query, and target components. (Pull [#​1586](https://redirect.github.com/urllib3/urllib3/issues/1586)) ### [`v1.25.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#12511-2020-10-19) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.25...1.25.1) \==================== - Fix retry backoff time parsed from `Retry-After` header when given in the HTTP date format. The HTTP date was parsed as the local timezone rather than accounting for the timezone in the HTTP date (typically UTC) (Pull [#​1932](https://redirect.github.com/urllib3/urllib3/issues/1932), Pull [#​1935](https://redirect.github.com/urllib3/urllib3/issues/1935), Pull [#​1938](https://redirect.github.com/urllib3/urllib3/issues/1938), Pull [#​1949](https://redirect.github.com/urllib3/urllib3/issues/1949)) - Fix issue where an error would be raised when the `SSLKEYLOGFILE` environment variable was set to the empty string. Now `SSLContext.keylog_file` is not set in this situation (Pull [#​2016](https://redirect.github.com/urllib3/urllib3/issues/2016)) ### [`v1.25`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#12511-2020-10-19) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.24.3...1.25) \==================== - Fix retry backoff time parsed from `Retry-After` header when given in the HTTP date format. The HTTP date was parsed as the local timezone rather than accounting for the timezone in the HTTP date (typically UTC) (Pull [#​1932](https://redirect.github.com/urllib3/urllib3/issues/1932), Pull [#​1935](https://redirect.github.com/urllib3/urllib3/issues/1935), Pull [#​1938](https://redirect.github.com/urllib3/urllib3/issues/1938), Pull [#​1949](https://redirect.github.com/urllib3/urllib3/issues/1949)) - Fix issue where an error would be raised when the `SSLKEYLOGFILE` environment variable was set to the empty string. Now `SSLContext.keylog_file` is not set in this situation (Pull [#​2016](https://redirect.github.com/urllib3/urllib3/issues/2016)) ### [`v1.24.3`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1243-2019-05-01) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.24.2...1.24.3) \=================== - Apply fix for CVE-2019-9740. (Pull [#​1591](https://redirect.github.com/urllib3/urllib3/issues/1591)) ### [`v1.24.2`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1242-2019-04-17) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.24.1...1.24.2) \=================== - Don't load system certificates by default when any other `ca_certs`, `ca_certs_dir` or `ssl_context` parameters are specified. - Remove Authorization header regardless of case when redirecting to cross-site. (Issue [#​1510](https://redirect.github.com/urllib3/urllib3/issues/1510)) - Add support for IPv6 addresses in subjectAltName section of certificates. (Issue [#​1269](https://redirect.github.com/urllib3/urllib3/issues/1269)) ### [`v1.24.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1241-2018-11-02) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.24...1.24.1) \=================== - Remove quadratic behavior within `GzipDecoder.decompress()` (Issue [#​1467](https://redirect.github.com/urllib3/urllib3/issues/1467)) - Restored functionality of `ciphers` parameter for `create_urllib3_context()`. (Issue [#​1462](https://redirect.github.com/urllib3/urllib3/issues/1462)) ### [`v1.24`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1243-2019-05-01) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.23...1.24) \=================== - Apply fix for CVE-2019-9740. (Pull [#​1591](https://redirect.github.com/urllib3/urllib3/issues/1591)) ### [`v1.23`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#123-2018-06-04) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.22...1.23) \================= - Allow providing a list of headers to strip from requests when redirecting to a different host. Defaults to the `Authorization` header. Different headers can be set via `Retry.remove_headers_on_redirect`. (Issue [#​1316](https://redirect.github.com/urllib3/urllib3/issues/1316)) - Fix `util.selectors._fileobj_to_fd` to accept `long` (Issue [#​1247](https://redirect.github.com/urllib3/urllib3/issues/1247)). - Dropped Python 3.3 support. (Pull [#​1242](https://redirect.github.com/urllib3/urllib3/issues/1242)) - Put the connection back in the pool when calling stream() or read_chunked() on a chunked HEAD response. (Issue [#​1234](https://redirect.github.com/urllib3/urllib3/issues/1234)) - Fixed pyOpenSSL-specific ssl client authentication issue when clients attempted to auth via certificate + chain (Issue [#​1060](https://redirect.github.com/urllib3/urllib3/issues/1060)) - Add the port to the connectionpool connect print (Pull [#​1251](https://redirect.github.com/urllib3/urllib3/issues/1251)) - Don't use the `uuid` module to create multipart data boundaries. (Pull [#​1380](https://redirect.github.com/urllib3/urllib3/issues/1380)) - `read_chunked()` on a closed response returns no chunks. (Issue [#​1088](https://redirect.github.com/urllib3/urllib3/issues/1088)) - Add Python 2.6 support to `contrib.securetransport` (Pull [#​1359](https://redirect.github.com/urllib3/urllib3/issues/1359)) - Added support for auth info in url for SOCKS proxy (Pull [#​1363](https://redirect.github.com/urllib3/urllib3/issues/1363)) ### [`v1.22`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#122-2017-07-20) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.21.1...1.22) \================= - Fixed missing brackets in `HTTP CONNECT` when connecting to IPv6 address via IPv6 proxy. (Issue [#​1222](https://redirect.github.com/urllib3/urllib3/issues/1222)) - Made the connection pool retry on `SSLError`. The original `SSLError` is available on `MaxRetryError.reason`. (Issue [#​1112](https://redirect.github.com/urllib3/urllib3/issues/1112)) - Drain and release connection before recursing on retry/redirect. Fixes deadlocks with a blocking connectionpool. (Issue [#​1167](https://redirect.github.com/urllib3/urllib3/issues/1167)) - Fixed compatibility for cookiejar. (Issue [#​1229](https://redirect.github.com/urllib3/urllib3/issues/1229)) - pyopenssl: Use vendored version of `six`. (Issue [#​1231](https://redirect.github.com/urllib3/urllib3/issues/1231)) ### [`v1.21.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1211-2017-05-02) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.21...1.21.1) \=================== - Fixed SecureTransport issue that would cause long delays in response body delivery. (Pull [#​1154](https://redirect.github.com/urllib3/urllib3/issues/1154)) - Fixed regression in 1.21 that threw exceptions when users passed the `socket_options` flag to the `PoolManager`. (Issue [#​1165](https://redirect.github.com/urllib3/urllib3/issues/1165)) - Fixed regression in 1.21 that threw exceptions when users passed the `assert_hostname` or `assert_fingerprint` flag to the `PoolManager`. (Pull [#​1157](https://redirect.github.com/urllib3/urllib3/issues/1157)) ### [`v1.21`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1211-2017-05-02) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.20...1.21) \=================== - Fixed SecureTransport issue that would cause long delays in response body delivery. (Pull [#​1154](https://redirect.github.com/urllib3/urllib3/issues/1154)) - Fixed regression in 1.21 that threw exceptions when users passed the `socket_options` flag to the `PoolManager`. (Issue [#​1165](https://redirect.github.com/urllib3/urllib3/issues/1165)) - Fixed regression in 1.21 that threw exceptions when users passed the `assert_hostname` or `assert_fingerprint` flag to the `PoolManager`. (Pull [#​1157](https://redirect.github.com/urllib3/urllib3/issues/1157)) ### [`v1.20`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#120-2017-01-19) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.19.1...1.20) \================= - Added support for waiting for I/O using selectors other than select, improving urllib3's behaviour with large numbers of concurrent connections. (Pull [#​1001](https://redirect.github.com/urllib3/urllib3/issues/1001)) - Updated the date for the system clock check. (Issue [#​1005](https://redirect.github.com/urllib3/urllib3/issues/1005)) - ConnectionPools now correctly consider hostnames to be case-insensitive. (Issue [#​1032](https://redirect.github.com/urllib3/urllib3/issues/1032)) - Outdated versions of PyOpenSSL now cause the PyOpenSSL contrib module to fail when it is injected, rather than at first use. (Pull [#​1063](https://redirect.github.com/urllib3/urllib3/issues/1063)) - Outdated versions of cryptography now cause the PyOpenSSL contrib module to fail when it is injected, rather than at first use. (Issue [#​1044](https://redirect.github.com/urllib3/urllib3/issues/1044)) - Automatically attempt to rewind a file-like body object when a request is retried or redirected. (Pull [#​1039](https://redirect.github.com/urllib3/urllib3/issues/1039)) - Fix some bugs that occur when modules incautiously patch the queue module. (Pull [#​1061](https://redirect.github.com/urllib3/urllib3/issues/1061)) - Prevent retries from occurring on read timeouts for which the request method was not in the method whitelist. (Issue [#​1059](https://redirect.github.com/urllib3/urllib3/issues/1059)) - Changed the PyOpenSSL contrib module to lazily load idna to avoid unnecessarily bloating the memory of programs that don't need it. (Pull [#​1076](https://redirect.github.com/urllib3/urllib3/issues/1076)) - Add support for IPv6 literals with zone identifiers. (Pull [#​1013](https://redirect.github.com/urllib3/urllib3/issues/1013)) - Added support for socks5h:// and socks4a:// schemes when working with SOCKS proxies, and controlled remote DNS appropriately. (Issue [#​1035](https://redirect.github.com/urllib3/urllib3/issues/1035)) ### [`v1.19.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1191-2016-11-16) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.19...1.19.1) \=================== - Fixed AppEngine import that didn't function on Python 3.5. (Pull [#​1025](https://redirect.github.com/urllib3/urllib3/issues/1025)) ### [`v1.19`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1191-2016-11-16) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.18.1...1.19) \=================== - Fixed AppEngine import that didn't function on Python 3.5. (Pull [#​1025](https://redirect.github.com/urllib3/urllib3/issues/1025)) ### [`v1.18.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1181-2016-10-27) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.18...1.18.1) \=================== - CVE-2016-9015. Users who are using urllib3 version 1.17 or 1.18 along with PyOpenSSL injection and OpenSSL 1.1.0 *must* upgrade to this version. This release fixes a vulnerability whereby urllib3 in the above configuration would silently fail to validate TLS certificates due to erroneously setting invalid flags in OpenSSL's `SSL_CTX_set_verify` function. These erroneous flags do not cause a problem in OpenSSL versions before 1.1.0, which interprets the presence of any flag as requesting certificate validation. There is no PR for this patch, as it was prepared for simultaneous disclosure and release. The master branch received the same fix in Pull [#​1010](https://redirect.github.com/urllib3/urllib3/issues/1010). ### [`v1.18`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#1181-2016-10-27) [Compare Source](https://redirect.github.com/urllib3/urllib3/compare/1.17...1.18) \=================== - CVE-2016-9015. Users who are using urllib3 version 1.17 or 1.18 along with PyOpenSSL injection and OpenSSL 1.1.0 *must* upgrade to this version. This release fixes a vulnerability whereby urllib3 in the above configuration would silently fail to validate TLS certificates due to erroneously setting invalid flags in OpenSSL's `SSL_CTX_set_verify` function. These erroneous flags do not cause a problem in OpenSSL versions before 1.1.0, which interprets the presence of any flag as requesting certificate validation. There is no PR for this patch, as it was prepared for simultaneous disclosure and release. The master branch received the same fix in Pull [#​1010](https://redirect.github.com/urllib3/urllib3/issues/1010).