Bug 1231173

Summary: python-jwt: token verification bypass with "none" algorithm
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jrusnack, rbean
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-jwt 1.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 15:07:30 UTC Type: ---
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: 1231174    
Bug Blocks:    

Description Vasyl Kaigorodov 2015-06-12 10:35:13 UTC
Below issue was reported:
 If the secretKey was expected to be a RSA public key, but the attacker changed the header to indicate a signature algorithm of HMAC, the RSA public key would be used as the signing secret.

Upstream fix: https://github.com/davedoesdev/python-jwt/commit/5ddb71b2ed5785c329b761e45a246996a1dd9cab
CVE request: http://seclists.org/oss-sec/2015/q2/3

Comment 1 Vasyl Kaigorodov 2015-06-12 10:35:28 UTC
Created python-jwt tracking bugs for this issue:

Affects: fedora-all [bug 1231174]

Comment 2 Fedora Update System 2015-06-30 00:08:19 UTC
python-jwt-1.3.0-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-06-30 00:13:20 UTC
python-jwt-1.3.0-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.