CVE-2024-31033: Withdrawn: JJWT improperly generates signing keys
This advisory was withdrawn on Apr 3, 2024. The publisher no longer considers it a valid vulnerability.
Withdrawn Advisory This advisory has been withdrawn because it has been found to be disputed. Please see the issue here for more information. Original Description JJWT (aka Java JWT) through 0.12.5 ignores certain characters and thus a user might falsely conclude that they have a strong key.
Published Apr 1, 2024 · Updated Apr 3, 2024
Affected packages
io.jsonwebtoken:jjwt-impl
- Ecosystem
- Maven
- Affected
- <= 0.12.5
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=io.jsonwebtoken:jjwt-impl
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Withdrawn Advisory
This advisory has been withdrawn because it has been found to be disputed. Please see the issue here for more information.
Original Description
JJWT (aka Java JWT) through 0.12.5 ignores certain characters and thus a user might falsely conclude that they have a strong key. The impacted code is the setSigningKey() method within the DefaultJwtParser class and the signWith() method within the DefaultJwtBuilder class.
Credited to ebickle.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-31033
- https://github.com/2308652512/JJWT_BUG
- https://github.com/jwtk/jjwt
- https://www.viralpatel.net/java-create-validate-jwt-token
- https://github.com/jwtk/jjwt/blob/26948610fbef81eba867cbaad54b516d1874c70a/impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java#L242
- https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358
- https://github.com/advisories/GHSA-r65j-6h5f-4f92
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
