Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1371902

Summary: Require python-jwcrypto with fix for CVE-2016-6298
Product: Red Hat Enterprise Linux 7 Reporter: Christian Heimes <cheimes>
Component: custodiaAssignee: Christian Heimes <cheimes>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.4CC: dpal, ipa-maint, ksiddiqu, lmiksik, mkosek, pvoborni, rcritten, ssorce
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1371901 Environment:
Last Closed: 2016-11-04 02:48:26 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:
Bug Depends On: 1371901    
Bug Blocks:    

Description Christian Heimes 2016-08-31 12:03:21 UTC
+++ This bug was initially created as a clone of Bug #1371901 +++

Description of problem:

A security in python-jwcrypto was found. The jwcrypto implementation of the RSA1_5 algorithm is vulnerable to the Million Message Attack described in RFC 3128. RSA with PKCS1v1.5 is used by Custodia and ipapython.secrets


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


Additional info:
Upstream bug report: https://github.com/latchset/jwcrypto/pull/66
Upstream fix: https://github.com/latchset/jwcrypto/pull/66

Comment 2 Martin Kosek 2016-09-05 15:25:54 UTC
The patch is available upstream
https://github.com/latchset/custodia/pull/70

Comment 3 Christian Heimes 2016-09-05 15:30:44 UTC
Patch for FreeIPA: https://github.com/freeipa/freeipa/pull/56

Comment 7 Namita Soman 2016-09-16 17:57:47 UTC
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.3 Beta (Maipo)

# rpm -qi python-jwcrypto
Name        : python-jwcrypto
Version     : 0.2.1
Release     : 1.el7
Architecture: noarch
Install Date: Mon 12 Sep 2016 05:30:24 PM IST
Group       : Unspecified
Size        : 166061
License     : LGPLv3+
Signature   : RSA/SHA256, Thu 28 Jul 2016 12:42:57 PM IST, Key ID 938a80caf21541eb
Source RPM  : python-jwcrypto-0.2.1-1.el7.src.rpm
Build Date  : Sat 02 Apr 2016 05:24:19 PM IST
Build Host  : ppc-021.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://github.com/simo5/jwcrypto
Summary     : Implements JWK,JWS,JWE specifications using python-cryptography
Description :
Implements JWK,JWS,JWE specifications using python-cryptography

Comment 9 errata-xmlrpc 2016-11-04 02:48:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2287.html