Bug 1584955 (CVE-2016-10555)

Summary: CVE-2016-10555 nodejs-jwt-simple: Missing algorithm parameter in jwt.js:jwt_decode() can allow attackers to bypass JWT signature verification
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: tchollingsworth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nodejs-jwt-simple 0.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:27:12 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: 1584956, 1584957    
Bug Blocks:    

Description Sam Fowler 2018-06-01 03:09:01 UTC
nodejs-jwt-simple before version 0.3.1 allows users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort.


External References:

https://nodesecurity.io/advisories/87
https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/


Upstream Fix:

https://github.com/hokaccha/node-jwt-simple/pull/16


Upstream Issue:

https://github.com/hokaccha/node-jwt-simple/issues/14

Comment 1 Sam Fowler 2018-06-01 03:09:21 UTC
Created nodejs-jwt-simple tracking bugs for this issue:

Affects: epel-all [bug 1584957]
Affects: fedora-all [bug 1584956]

Comment 2 Product Security DevOps Team 2019-06-10 10:27:12 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.