Description
inversoft prime-jwt version prior to version 1.3.0 or prior to commit 0d94dcef0133d699f21d217e922564adbb83a227 contains an input validation vulnerability in JWTDecoder.decode that can result in a JWT that is decoded and thus implicitly validated even if it lacks a valid signature. This attack appear to be exploitable via an attacker crafting a token with a valid header and body and then requests it to be validated. This vulnerability appears to have been fixed in 1.3.0 and later or after commit 0d94dcef0133d699f21d217e922564adbb83a227.
Remediation
References
https://github.com/inversoft/prime-jwt/blob/master/CHANGES
https://github.com/inversoft/prime-jwt/issues/2
Related Vulnerabilities
CVE-2022-23617 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2020-7760 Vulnerability in maven package org.webjars.npm:codemirror
CVE-2019-10277 Vulnerability in maven package hudson.plugins:starteam
CVE-2022-36883 Vulnerability in maven package org.jenkins-ci.plugins:git
CVE-2018-17420 Vulnerability in maven package com.zrlog:zrlog