6.8medium
JJWT (aka Java JWT) through 0.12.5 ignores certain characters and thus a user might falsely conclude that they have a strong key.
- Severity
- 6.8medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.78% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-r65j-6h5f-4f92
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. NOTE: the vendor disputes this because the "ignores" behavior cannot occur (in any version) unless there is a user error in how JJWT is used, and because the version that was actually tested must have been more than six years out of date.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| jwtk jjwt | up to 0.12.5 | CVE List |
| io.jsonwebtoken:jjwt-impl (Maven) | up to 0.12.5 | GitHub Advisory Database |
All scores
| CISA-ADP | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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. NOTE: the vendor disputes this because the "ignores" behavior cannot occur (in any version) unless there is a user error in how JJWT is used, and because the version that was actually tested must have been more than six years out of date.
GitHub Advisory Database
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.
NVD (es)
JJWT (también conocido como Java JWT) hasta 0.12.5 ignora ciertos caracteres y, por lo tanto, un usuario podría concluir erróneamente que tiene una clave segura. El código afectado es el método setSigningKey() dentro de la clase DefaultJwtParser y el método signWith() dentro de la clase DefaultJwtBuilder.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-31033 changed 2024-08-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r65j-6h5f-4f92 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-31033 changed 2026-06-17 | Public domain |