Bug 1170701

Summary: Please don’t use python-rsa
Product: [Fedora] Fedora Reporter: Miloslav Trmač <mitr>
Component: python-botoAssignee: Garrett Holmstrom <gholms>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: branto, gholms, ktdreyer, orion, s, walters
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/boto/boto/pull/2890
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-09 01:36:38 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:
Embargoed:

Description Miloslav Trmač 2014-12-04 16:04:30 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Miloslav Trmač 2014-12-04 16:08:00 UTC
python-boto-0:2.34.0-4.fc20.noarch depends on python-rsa, which is a very naive implementation of RSA with known unfixed vulnerabilities, e.g. https://bitbucket.org/sybren/python-rsa/issue/19/vulnerable-to-side-channel-attacks-on ).  See also bug 1170702.

I strongly recommend replacing its use by a python module that wraps one of the mainstream crypto libraries, perhaps M2Crypto.RSA or cryptography.hazmat.primitives.asymmetric.rsa .

Comment 2 Orion Poplawski 2014-12-04 16:15:41 UTC
Shouldn't this be reported upstream instead/also? https://github.com/boto/boto/issues

Comment 3 Ken Dreyer 2015-01-16 15:39:54 UTC
You're right Orion. I've reported it upstream today: https://github.com/boto/boto/issues/2889

Comment 4 Boris Ranto 2015-01-16 16:13:23 UTC
Upstream pull request: https://github.com/boto/boto/pull/2890

Comment 5 Jaroslav Reznik 2015-03-03 16:33:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 6 Garrett Holmstrom 2015-04-09 01:36:38 UTC
I am quite reluctant to change crypto libraries without cooperation from the upstream maintainers, so let's let this discussion play out in the pull request.