Description
inversoft prime-jwt version prior to commit abb0d479389a2509f939452a6767dc424bb5e6ba contains a CWE-20 vulnerability in JWTDecoder.decode that can result in an incorrect signature validation of a JWT token. This attack can be exploitable when an attacker crafts a JWT token with a valid header using 'none' as algorithm and a body to requests it be validated. This vulnerability was fixed after commit abb0d479389a2509f939452a6767dc424bb5e6ba.
Remediation
References
https://github.com/inversoft/prime-jwt/issues/3
Related Vulnerabilities
CVE-2016-1000282 Vulnerability in npm package haraka
CVE-2021-4264 Vulnerability in npm package dustjs-linkedin
CVE-2017-16104 Vulnerability in npm package citypredict.whauwiller
CVE-2021-23495 Vulnerability in npm package karma
CVE-2019-10364 Vulnerability in maven package org.jenkins-ci.plugins:ec2