Skip to main content
← All vulnerabilities
CVE-2016-10555GHSA-VGRX-W6RG-8FQF

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 t

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.1
3 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • HackerOne jwt-simple node module

    through 0.3.0

  • jwt-simplenpm

    fixed in 0.3.1

References 7

nodesecurity.io

GitHub · hokaccha/node-jwt-simple

auth0.com

GitHub · CircuitSoul/poc-cve-2016-10555

GitHub · scent2d/PoC-CVE-2016-10555

GitHub · z-bool/Venom-JWT