{"id":"CVE-2024-31033","details":"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.","modified":"2026-04-10T05:13:03.689383Z","published":"2024-04-01T02:15:07.850Z","references":[{"type":"WEB","url":"https://www.viralpatel.net/java-create-validate-jwt-token/"},{"type":"REPORT","url":"https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358"},{"type":"PACKAGE","url":"https://github.com/2308652512/JJWT_BUG"},{"type":"PACKAGE","url":"https://github.com/jwtk/jjwt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jwtk/jjwt","events":[{"introduced":"0"},{"last_affected":"2399e2fdc5e20fad9d71d6bcbfd126cce6521638"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.12.5"}]}}],"versions":["0.1","0.10.0","0.10.1","0.10.2","0.10.6","0.10.7","0.11.0","0.11.1","0.11.2","0.12.5","0.2","0.3","0.4","0.5","0.5.1","0.6.0","0.7.0","0.8.0","0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31033.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}