cve.bz

CVE-2023-31582 jose4j project jose4j: Insufficient Entropy

7.5 highEPSS 0.8%Fix available

High (7.5) in jose4j project jose4j. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.bitbucket.b_c:jose4j 0.9.3.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-331 Insufficient Entropy
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-31582 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-31582?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-31582?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-31582 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jose4j_project:jose4jbefore 0.9.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7g24-qg88-p43qMavenorg.bitbucket.b_c:jose4j<0.9.30.9.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14libjose4j-java0.7.12-2DEBIAN-CVE-2023-31582
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morelibjose4j-javano fix listedUBUNTU-CVE-2023-31582
SUSEManager Proxy Module 4.3mgr-daemon4.3.8-150400.3.12.5SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3patterns-suse-manager4.3-150400.5.9.5SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacecmd4.3.26-150400.3.33.5SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-backend4.3.27-150400.3.38.2SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-certs-tools4.3.22-150400.3.25.1SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-client-tools4.3.18-150400.3.24.7SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-web4.3.37-150400.3.39.7SUSE-SU-2024:0485-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3susemanager-build-keys15.4.10-150400.3.23.5SUSE-SU-2024:0485-1
SUSEManager Server Module 4.3cobbler3.3.3-150400.5.39.5SUSE-SU-2024:0485-1
SUSEManager Server Module 4.3grafana-formula0.10.0-150400.3.15.5SUSE-SU-2024:0485-1
SUSEManager Server Module 4.3inter-server-sync0.3.2-150400.3.27.5SUSE-SU-2024:0485-1
SUSEManager Server Module 4.3jose4j0.5.1-150400.3.6.2SUSE-SU-2024:0485-1
15 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw would require manually setting of the number of iterations under 1000 for Json Web Encryption, therefore, a malicious user would need previous access to modify it. Also, a user would still be able to set the variable incorrectly and make the environment less secure for JWE. This is currently rated as a moderate impact.

Red Hat's mitigation

No mitigation is currently available for this flaw.

ProductPackageStateAdvisory
Red Hat AMQ Streams 2.6.0jose4jFixed 2023-12-06RHSA-2023:7678
Red Hat build of Quarkus 2.13.9jose4jFixed 2023-12-07RHSA-2023:7700
Red Hat Data Grid 8.4.6jose4jFixed 2023-12-06RHSA-2023:7676
OpenShift Developer Tools and Servicesjenkins-2-pluginsNot affected
OpenShift Serverlessjose4jWill not fix
Red Hat AMQ Broker 7jose4jNot affected
Red Hat build of Apache Camel for Spring Boot 3jose4jWill not fix
Red Hat build of Apicurio Registry 2jose4jAffected
Red Hat build of Debezium 2jose4jWill not fix
Red Hat build of Quarkusjose4jNot affected
Red Hat Fuse 7jose4jWill not fix
Red Hat Integration Camel K 1jose4jWill not fix
Red Hat JBoss Data Grid 7jose4jOut of support scope
Red Hat JBoss Enterprise Application Platform 6jose4jOut of support scope
Red Hat JBoss Enterprise Application Platform 6keycloak-adapter-sso7_5-eap6Out of support scope
Red Hat JBoss Enterprise Application Platform 7jose4jNot affected
Red Hat JBoss Enterprise Application Platform 8jose4jNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packjose4jNot affected
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsOut of support scope
Red Hat OpenShift Container Platform 4jenkins-2-pluginsNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-31582.

Attack patterns (CAPEC)

  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON