Back to search
CVE-2016-10555
Published: May 31, 2018
Modified: Sep 16, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
HackerOne | jwt-simple node module | affected <=0.3.0 |
Weaknesses (CWE)
References
https://nodesecurity.io/advisories/87
x_refsource_MISC
https://github.com/hokaccha/node-jwt-simple/pull/14
x_refsource_MISC
https://github.com/hokaccha/node-jwt-simple/pull/16
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now