| Summary: | python-urllib3 defaulted to non-existant ca_certs. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ralph Bean <rbean> |
| Component: | python-urllib3 | Assignee: | Ralph Bean <rbean> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | a.badger, rbean, thoger |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-urllib3-1.5-7.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-09 03:28:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ralph Bean
2013-10-28 17:05:09 UTC
python-urllib3-1.7-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-urllib3-1.7-4.fc20 python-urllib3-1.7-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-urllib3-1.7-4.fc19 python-urllib3-1.5-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-urllib3-1.5-7.fc18 python-urllib3-1.5-7.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-urllib3-1.5-7.el6 Using python-urllib3 directly would result in a traceback: >>> import urllib3 >>> conn = urllib3.connection_from_url('https://apps.fedoraproject.org') >>> r1 = conn.request('GET', 'https://apps.fedoraproject.org/') Traceback (most recent call last): File "testing.py", line 3, in <module> r1 = conn.request('GET', 'https://apps.fedoraproject.org/') File "/usr/lib/python2.7/site-packages/urllib3/request.py", line 75, in request **urlopen_kw) File "/usr/lib/python2.7/site-packages/urllib3/request.py", line 88, in request_encode_url return self.urlopen(method, url, **urlopen_kw) File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 492, in urlopen raise SSLError(e) urllib3.exceptions.SSLError: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib Users of python-requests were not affected by this bug. python-requests does use python-urllib3's cert validation, but the path is patched correctly in python-requests: http://pkgs.fedoraproject.org/cgit/python-requests.git/tree/python-requests-system-cert-bundle.patch The correctly patched path from python-requests overwrites python-urllib3's incorrectly patched path at runtime. Why are these updates in Bodhi type:security? This does not look like something we classify as security fix, as comment 5 indicates this was fail close (no https connection was possible because of this bug) rather than fail open (https connection without certificate check). (In reply to Tomas Hoger from comment #6) > This does not look like something we classify as security fix, as comment 5 > indicates this was fail close (no https connection was possible because of > this bug) rather than fail open (https connection without certificate check). My mistake. I'll modify the updates to be of type bugfix. Hm, well, I was able to edit the f20 and el6 updates, but not f19 and f18. It looks like the push for them is already underway. That do happen when push is in progress. They are in testing now, I believe you should be able to edit now before push to stable starts. Done. :) Thank you! Package python-urllib3-1.5-7.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-urllib3-1.5-7.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11982/python-urllib3-1.5-7.el6 then log in and leave karma (feedback). python-urllib3-1.5-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. python-urllib3-1.7-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. python-urllib3-1.7-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-urllib3-1.5-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |