CVE-2016-10555

Severity CVSS v4.0:
Pending analysis
Type:
CWE-310 Cryptographic Issues
Publication date:
31/05/2018
Last modified:
09/10/2019

Description

Since "algorithm" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:jwt-simple_project:jwt-simple:*:*:*:*:*:node.js:*:* 0.3.0 (including)