Bug 1584955 (CVE-2016-10555) - CVE-2016-10555 nodejs-jwt-simple: Missing algorithm parameter in jwt.js:jwt_decode() can allow attackers to bypass JWT signature verification
Summary: CVE-2016-10555 nodejs-jwt-simple: Missing algorithm parameter in jwt.js:jwt_d...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2016-10555
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1584956 1584957
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-01 03:09 UTC by Sam Fowler
Modified: 2021-02-17 00:12 UTC (History)
1 user (show)

Fixed In Version: nodejs-jwt-simple 0.3.1
Clone Of:
Environment:
Last Closed: 2019-06-10 10:27:12 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.