GHSA-r65j-6h5f-4f92
Withdrawn: JJWT improperly generates signing keys
Withdrawn ·
At a glance
- Published
- Updated
- CVE
- CVE-2024-31033
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Description
## Withdrawn Advisory This advisory has been withdrawn because it has been found to be disputed. Please see the issue [here](https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358) 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.
Affected packages
| Package | Versions |
|---|---|
| Maven · io.jsonwebtoken:jjwt-impl | introduced 0, last affected 0.12.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-31033 ADVISORY
- https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358 WEB
- https://github.com/2308652512/JJWT_BUG WEB
- https://github.com/jwtk/jjwt PACKAGE
- https://github.com/jwtk/jjwt/blob/26948610fbef81eba867cbaad54b516d1874c70a/impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java#L242 WEB
- https://www.viralpatel.net/java-create-validate-jwt-token WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |