PT-2024-23734 · Jjwt · Jjwt

CVE-2024-31033

·

Published

2024-04-01

·

Updated

2024-08-27

CVSS v3.1

6.8

Medium

VectorAV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions JJWT (aka Java JWT) through 0.12.5
Description The issue concerns JJWT ignoring certain characters, potentially leading a user to falsely conclude they have a strong key. The impacted code includes the setSigningKey() method within the DefaultJwtParser class and the signWith() method within the DefaultJwtBuilder class. However, the vendor disputes this issue, stating it cannot occur without user error and that the tested version must have been outdated.
Recommendations For JJWT through 0.12.5, consider reviewing the usage of the setSigningKey() and signWith() methods to ensure correct implementation and key strength assessment. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use of a Broken Cryptographic Algorithm

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-31033
GHSA-R65J-6H5F-4F92

Affected Products

Jjwt