cve.bz

CVE-2023-51775 jose4j project jose4j: Uncontrolled Resource Consumption

6.5 mediumExploit referenceEPSS 0.9%Fix available

Medium (6.5) in jose4j project jose4j. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.bitbucket.b_c:jose4j 0.9.4.

On this page
The jose4j component before 0.9.4 for Java allows attackers to cause a denial of service (CPU consumption) via a large p2c (aka PBES2 Count) value.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-03-01. 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-400 Uncontrolled Resource Consumption
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-51775 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-51775?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-51775?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-51775 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.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6qvw-249j-h44cMavenorg.bitbucket.b_c:jose4j<0.9.40.9.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14libjose4j-java0.9.6-1DEBIAN-CVE-2023-51775
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morelibjose4j-javano fix listedUBUNTU-CVE-2023-51775
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.24-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hibernate-validator, eap7-hibernate-validator-cdi0:6.0.23-2.SP1_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.18-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-cert-helper, eap7-insights-java-client, eap7-jboss-cert-helper-debuginfo0:1.1.3-1.redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-client0:4.0.55-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-39.Final_redhat_00039.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-cxf0:5.4.12-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jsoup0:1.15.4-1.redhat_00003.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow-jastow0:2.0.15-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.19-1.GA_redhat_00002.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-xalan-j20:2.7.1-37.redhat_00015.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-hal-console0:3.3.24-1.Final_redhat_00001.1.el8eapRHSA-2024:8076
21 more for Red Hat in the JSON and on Red Hat's page.
SUSEManager Proxy 4.3release-notes-susemanager-proxy4.3.12-150400.3.82.3SUSE-SU-2024:1532-1
SUSEManager Proxy Module 4.3mgr-daemon4.3.9-150400.3.15.5SUSE-SU-2024:1507-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacecmd4.3.27-150400.3.36.5SUSE-SU-2024:1507-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-backend4.3.28-150400.3.41.7SUSE-SU-2024:1507-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-certs-tools4.3.23-150400.3.28.5SUSE-SU-2024:1507-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-client-tools4.3.19-150400.3.27.5SUSE-SU-2024:1507-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3spacewalk-web4.3.38-150400.3.42.6SUSE-SU-2024:1507-1
SUSEManager Proxy Module 4.3, Manager Server Module 4.3uyuni-common-libs4.3.10-150400.3.18.4SUSE-SU-2024:1507-1
SUSEManager Server 4.3release-notes-susemanager4.3.12-150400.3.108.2SUSE-SU-2024:1532-1
SUSEManager Server Module 4.3cobbler3.3.3-150400.5.42.5SUSE-SU-2024:1507-1
SUSEManager Server Module 4.3image-sync-formula0.1.1711646883.4a44375-150400.3.18.4SUSE-SU-2024:1507-1
SUSEManager Server Module 4.3inter-server-sync0.3.3-150400.3.30.4SUSE-SU-2024:1507-1
12 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; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability in the jose4j library, where the "p2c" parameter in PBKDF2-based JWE key management algorithms can be manipulated to induce high computational consumption, is classified as moderate severity due to its potential impact on service availability and resource exhaustion. By setting a large value for "p2c", an attacker can force the server to perform an excessive number of PBKDF2 iterations during key derivation. This results in increased CPU and memory usage, potentially leading to degraded performance or temporary denial of service.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
HawtIO 4.0.0 for Red Hat build of Apache Camel 4jose4jFixed 2024-06-03RHSA-2024:3550
Red Hat build of Apicurio Registry 2.6.1 GAjose4jFixed 2024-07-25RHSA-2024:4873
Red Hat JBoss Enterprise Application Platform 7jose4jFixed 2024-10-14RHSA-2024:8080
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-hal-console-0:3.3.24-1.Final_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-hibernate-validator-0:6.0.23-2.SP1_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-insights-java-client-0:1.1.3-1.redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-ironjacamar-0:1.5.18-1.Final_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-jboss-cert-helper-0:1.1.3-1.redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-jboss-ejb-client-0:4.0.55-1.Final_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-jboss-server-migration-0:1.10.0-39.Final_redhat_00039.1.el8eapFixed 2024-10-14RHSA-2024:8076
OpenShift Developer Tools and Servicesjenkins-2-pluginsNot affected
Red Hat build of Apache Camel for Spring Boot 3jose4jOut of support scope
Red Hat build of Apache Camel for Spring Boot 4jose4jNot affected
Red Hat build of Apache Camel - HawtIO 4jose4jAffected
Red Hat build of Debezium 2jose4jNot affected
Red Hat Build of Keycloakjose4jAffected
Red Hat build of Quarkusjose4jOut of support scope
Red Hat build of Quarkusjose4jAffected
Red Hat Data Grid 8jose4jNot affected
Red Hat Fuse 7jose4jWill not fix
46 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-51775.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

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

References

Check your stackJSON