{"id":"GHSA-7g24-qg88-p43q","summary":"jose4j uses weak cryptographic algorithm","details":"jose4j before v0.9.3 allows attackers to set a low PBES2 iteration count of 1000 or less.","aliases":["CVE-2023-31582"],"modified":"2026-09-10T03:49:58.667384204Z","published":"2023-10-25T18:32:21Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-10-27T19:13:19Z","nvd_published_at":"2023-10-25T18:17:27Z","cwe_ids":["CWE-327","CWE-331"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31582"},{"type":"PACKAGE","url":"https://bitbucket.org/b_c/jose4j"},{"type":"WEB","url":"https://bitbucket.org/b_c/jose4j/commits/1929fe3"},{"type":"WEB","url":"https://bitbucket.org/b_c/jose4j/issues/203/insecure-support-of-setting-pbe-less-then"},{"type":"WEB","url":"https://github.com/KANIXB/JWTIssues/blob/main/jose4j%20issue.md"}],"affected":[{"package":{"name":"org.bitbucket.b_c:jose4j","ecosystem":"Maven","purl":"pkg:maven/org.bitbucket.b_c/jose4j"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.3"}]}],"versions":["0.3.6","0.3.7","0.3.8","0.3.9","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.7.0","0.7.1","0.7.10","0.7.11","0.7.12","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","0.8.0","0.9.0","0.9.1","0.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-7g24-qg88-p43q/GHSA-7g24-qg88-p43q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}