Description
In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymmetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family).
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | jsonwebtoken node module | <4.2.2 |
References
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/Broken Link, Vendor Advisory
- https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687Patch, Third Party Advisory
- https://nodesecurity.io/advisories/17Third Party Advisory
- https://www.timmclean.net/2015/02/25/jwt-alg-none.htmlExploit, Third Party Advisory
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/Broken Link, Vendor Advisory
- https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687Patch, Third Party Advisory
- https://nodesecurity.io/advisories/17Third Party Advisory
- https://www.timmclean.net/2015/02/25/jwt-alg-none.htmlExploit, Third Party Advisory
Timeline
- Published
- May 29, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified