# CVE-2023-31582: jose4j uses weak cryptographic algorithm

Source: https://junglewise.ai/threats/cve-2023-31582-jose4j-uses-weak-cryptographic-algorithm  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-25  
License: CC BY 4.0 with a link back

CVE-2023-31582 · Severity: low · CVSS 3.1 · Published 2023-10-25

jose4j uses weak cryptographic algorithm

Technologies: [org.bitbucket.b_c:jose4j (Maven)](https://junglewise.ai/threats/technologies/org-bitbucket-b-c-jose4j). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-31582 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-31582 being exploited in the wild.

**How severe is CVE-2023-31582?** Low severity, with a CVSS score of 3.1, published 25 October 2023.

**Which products and versions are affected?** org.bitbucket.b_c:jose4j (Maven) ECOSYSTEM:introduced=0,fixed=0.9.3.

**Is there a fix for CVE-2023-31582?** Yes. org.bitbucket.b_c:jose4j (Maven): upgrade to 0.9.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-31582?** Check whether you run org.bitbucket.b_c:jose4j (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.bitbucket.b_c:jose4j (Maven): upgrade to 0.9.3 or later

  ```sh
  # set org.bitbucket.b_c:jose4j to 0.9.3 in your pom.xml or build.gradle
  ```


## Affected products

- org.bitbucket.b_c:jose4j (Maven) ECOSYSTEM:introduced=0,fixed=0.9.3

## Identifiers

- CVE-2023-31582
- GHSA-7g24-qg88-p43q

## Related threats

- [jose4j is vulnerable to DoS via compressed JWE content](https://junglewise.ai/threats/cve-2024-29371-jose4j-is-vulnerable-to-dos-via-compressed-jwe-content)
- [jose4j denial of service via specifically crafted JWE](https://junglewise.ai/threats/cve-2023-51775-jose4j-denial-of-service-via-specifically-crafted-jwe)
- [Chosen Ciphertext Attack in Jose4j](https://junglewise.ai/threats/chosen-ciphertext-attack-in-jose4j-97cca9f9)
- [Elliptic Curve Key Disclosure](https://junglewise.ai/threats/elliptic-curve-key-disclosure-bf56e6f0)
