Red Hat Security Advisory: python27:2.7 security, bug fix, and enhancement update
🔗 CVE IDs covered (7)
📋 Description
CVE-2018-18074 — python-requests: Redirect from HTTPS to HTTP does not remove Authorization header CVE-2018-20060 — python-urllib3: Cross-host redirect does not remove Authorization header allow for credential exposure CVE-2018-20852 — python: Cookie domain check returns incorrect results CVE-2019-11236 — python-urllib3: CRLF injection due to not encoding the '\r\n' sequence leading to possible attack on internal service CVE-2019-11324 — python-urllib3: Certification mishandle when error should be thrown CVE-2019-16056 — python: email.utils.parseaddr wrongly parses email addresses CVE-2019-16935 — python: XSS vulnerability in the documentation XML-RPC server in server_title field
🎯 Affected products200
- Red Hat Enterprise Linux AppStream (v. 8)
- Cython-0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- Cython-debugsource-0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.aarch64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- Cython-debugsource-0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.ppc64le (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- Cython-debugsource-0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.s390x (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- Cython-debugsource-0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.x86_64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-0:3.12-16.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:3.12-16.module+el8.1.0+3111+de3f2d8e.aarch64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:3.12-16.module+el8.1.0+3111+de3f2d8e.ppc64le (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:3.12-16.module+el8.1.0+3111+de3f2d8e.s390x (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- PyYAML-debugsource-0:3.12-16.module+el8.1.0+3111+de3f2d8e.x86_64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- babel-0:2.5.1-9.module+el8.1.0+3111+de3f2d8e.noarch (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- babel-0:2.5.1-9.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-1:1.14.2-13.module+el8.1.0+3323+7ac3e00f.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-1:1.14.2-13.module+el8.1.0+3323+7ac3e00f.aarch64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-1:1.14.2-13.module+el8.1.0+3323+7ac3e00f.ppc64le (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-1:1.14.2-13.module+el8.1.0+3323+7ac3e00f.s390x (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- numpy-debugsource-1:1.14.2-13.module+el8.1.0+3323+7ac3e00f.x86_64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- pytest-0:3.4.2-13.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-PyMySQL-0:0.8.0-10.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-attrs-0:17.4.0-10.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-backports-0:1.0-15.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-backports-ssl_match_hostname-0:3.5.0.1-11.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-chardet-0:3.0.4-10.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-coverage-0:4.5.1-4.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-coverage-debugsource-0:4.5.1-4.module+el8.1.0+3111+de3f2d8e.aarch64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-coverage-debugsource-0:4.5.1-4.module+el8.1.0+3111+de3f2d8e.ppc64le (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-coverage-debugsource-0:4.5.1-4.module+el8.1.0+3111+de3f2d8e.s390x (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-coverage-debugsource-0:4.5.1-4.module+el8.1.0+3111+de3f2d8e.x86_64 (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- python-dns-0:1.15.0-10.module+el8.1.0+3111+de3f2d8e.src (python27:2.7) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- +170 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Use `retries=urllib3.Retry(redirect=0)` when performing requests if you do not need redirection and handle the redirects manually if you need them. Workaround: A potentially simple workaround in the absence of patch on affected versions is to set DomainStrict in the cookiepolicy that would make sure a literal match against domain. The disadvantage would be that cookie set on example.com would not be shared with subdomain which might break workflow. Workaround: The urllib3 package is used by elastic-curator, which is deployed in the ose-logging-curator, and used by the optional logging feature in OpenShift Container Platform (OCP). Therefore OCP 3.11 users can mitigate this issue by not deploying and using the Curator logging feature. In OCP 4 urllib3 is also used by several Ansible Play Book images built with the Operator SDK and available for installation in OCP 4 including openshift-enterprise-ansible-operator and ose-metering-ansible-operator. Therefore those operators should not be deployed in order to mitigate this issue in OCP 4.
🔗 References (12)
- selfhttps://access.redhat.com/errata/RHSA-2020:1605
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.2_release_notes/index
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1643829
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1649153
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1659551
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1700824
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1702473
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1740347
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1749839
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1762422
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_1605.json