Bug 1390494 - nodejs-jwt-simple: Forgeable public/private tokens
Summary: nodejs-jwt-simple: Forgeable public/private tokens
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1390496 1390497
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 09:01 UTC by Andrej Nemec
Modified: 2020-11-05 10:32 UTC (History)
1 user (show)

Fixed In Version: nodejs-jwt-simple 0.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:01:45 UTC


Attachments (Terms of Use)

Description Andrej Nemec 2016-11-01 09:01:00 UTC
'jwt-simple' is a JSON Web Token encode and decode module. Affected versions of this package are vulnerable to an Authentication Bypass attack, due to the "algorithm" not being enforced. Attackers are given the opportunity to choose the algorithm sent to the server and generate signatures with arbitrary contents. The server expects an asymmetric key (RSA) but is sent a symmetric key (HMAC-SHA) with RSA's public key, so instead of going through a key validation process, the server will think the public key is actually an HMAC private key.

References:

https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/
https://github.com/hokaccha/node-jwt-simple/pull/14
https://github.com/hokaccha/node-jwt-simple/pull/16
https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97

Comment 1 Andrej Nemec 2016-11-01 09:02:29 UTC
Created nodejs-jwt-simple tracking bugs for this issue:

Affects: fedora-all [bug 1390496]
Affects: epel-all [bug 1390497]

Comment 2 Product Security DevOps Team 2019-06-08 03:01:45 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.