Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bitbucket.b_c/jose4j
  4. ›
  5. CVE-2023-31582

CVE-2023-31582: jose4j uses weak cryptographic algorithm

October 25, 2023 (updated October 31, 2023)

jose4j before v0.9.3 allows attackers to set a low iteration count of 1000 or less.

References

  • bitbucket.org/b_c/jose4j/commits/1929fe3
  • bitbucket.org/b_c/jose4j/issues/203/insecure-support-of-setting-pbe-less-then
  • github.com/KANIXB/JWTIssues/blob/main/jose4j%20issue.md
  • github.com/advisories/GHSA-7g24-qg88-p43q
  • nvd.nist.gov/vuln/detail/CVE-2023-31582

Code Behaviors & Features

Detect and mitigate CVE-2023-31582 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.3

Fixed versions

  • 0.9.3

Solution

Upgrade to version 0.9.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-331: Insufficient Entropy

Source file

maven/org.bitbucket.b_c/jose4j/CVE-2023-31582.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.