Red Hat Security Advisory: python-pip security update
🔗 CVE IDs covered (4)
📋 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-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
🎯 Affected products12
- Red Hat Enterprise Linux Client (v. 7)
- Red Hat Enterprise Linux ComputeNode (v. 7)
- Red Hat Enterprise Linux Server (v. 7)
- Red Hat Enterprise Linux Workstation (v. 7)
- python-pip-0:9.0.3-7.el7_8.src as a component of Red Hat Enterprise Linux Client (v. 7)
- python-pip-0:9.0.3-7.el7_8.src as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- python-pip-0:9.0.3-7.el7_8.src as a component of Red Hat Enterprise Linux Server (v. 7)
- python-pip-0:9.0.3-7.el7_8.src as a component of Red Hat Enterprise Linux Workstation (v. 7)
- python3-pip-0:9.0.3-7.el7_8.noarch as a component of Red Hat Enterprise Linux Client (v. 7)
- python3-pip-0:9.0.3-7.el7_8.noarch as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- python3-pip-0:9.0.3-7.el7_8.noarch as a component of Red Hat Enterprise Linux Server (v. 7)
- python3-pip-0:9.0.3-7.el7_8.noarch as a component of Red Hat Enterprise Linux Workstation (v. 7)
✅ 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: 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 (7)
- selfhttps://access.redhat.com/errata/RHSA-2020:2068
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- 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=1700824
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1702473
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_2068.json