CVE-2024-31033
6.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | n/a | n/a | affected |
Weaknesses
- n/a
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/jwtk/jjwt
- https://www.viralpatel.net/java-create-validate-jwt-token/
- https://github.com/2308652512/JJWT_BUG
- https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://github.com/jwtk/jjwt
- https://www.viralpatel.net/java-create-validate-jwt-token/
- https://github.com/2308652512/JJWT_BUG
- https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.