CVE-2023-51775
Public on
Last Modified:
Description
A flaw was found in the jose.4.j (jose4j) library. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource-intensive. However, if an attacker sets the p2c parameter in JWE to a large number, it can cause high computational consumption, resulting in a denial of service.
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.
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.
Additional Information
- This content is not included.Bugzilla 2266921: jose4j: denial of service via specially crafted JWE
- Content from cwe.mitre.org is not included.CWE-400: Uncontrolled Resource Consumption
- FAQ: Frequently asked questions about CVE-2023-51775
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2023-51775
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2023-51775
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| HawtIO 4.0.0 for Red Hat build of Apache Camel 4 | jose4j | Fixed | RHSA-2024:3550 |
| OpenShift Developer Tools and Services | jenkins-2-plugins | Not affected | |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-data-index-ephemeral-rhel8 | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-data-index-postgresql-rhel8 | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-jobs-service-postgresql-rhel8 | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8 | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-operator-bundle | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-rhel8-operator | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-swf-builder-rhel8 | Fixed | RHSA-2024:4057 |
| RHOSS-1.33-RHEL-8 | openshift-serverless-1/logic-swf-devmode-rhel8 | Fixed | RHSA-2024:4057 |
| Red Hat Build of Keycloak | jose4j | Affected | |
| Red Hat Data Grid 8 | jose4j | Not affected | |
| Red Hat Fuse 7 | jose4j | Will not fix | |
| Red Hat Integration Camel K 1 | jose4j | Will not fix | |
| Red Hat JBoss Data Grid 7 | jose4j | Not affected | |
| Red Hat JBoss Enterprise Application Platform 7 | jose4j | Fixed | RHSA-2024:8080 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-hal-console | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-hibernate-validator | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-insights-java-client | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-ironjacamar | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-jboss-cert-helper | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-jboss-ejb-client | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-jboss-server-migration | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-jbossws-cxf | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-jsoup | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-undertow-jastow | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-wildfly | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-xalan-j2 | Fixed | RHSA-2024:8076 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-hal-console | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-hibernate-validator | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-insights-java-client | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-ironjacamar | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-jboss-cert-helper | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-jboss-ejb-client | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-jboss-server-migration | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-jbossws-cxf | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-jsoup | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-undertow-jastow | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-wildfly | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-xalan-j2 | Fixed | RHSA-2024:8077 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-hal-console | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-hibernate-validator | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-insights-java-client | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-ironjacamar | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-jboss-cert-helper | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-jboss-ejb-client | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-jboss-server-migration | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-jbossws-cxf | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-jsoup | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-undertow-jastow | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-wildfly | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-xalan-j2 | Fixed | RHSA-2024:8075 |
| Red Hat JBoss Enterprise Application Platform 8 | jose4j | Fixed | RHSA-2024:4392 |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Fixed | RHSA-2024:4386 | |
| Red Hat OpenShift Container Platform 3.11 | jenkins-2-plugins | Not affected | |
| Red Hat Process Automation 7 | jose4j | Affected | |
| Red Hat Single Sign-On 7 | jose4j | Will not fix | |
| Red Hat build of Apache Camel - HawtIO 4 | jose4j | Affected | |
| Red Hat build of Apache Camel for Spring Boot 3 | jose4j | Out of support scope | |
| Red Hat build of Apache Camel for Spring Boot 4 | jose4j | Not affected | |
| Red Hat build of Apicurio Registry 2.6.1 GA | jose4j | Fixed | RHSA-2024:4873 |
| Red Hat build of Debezium 2 | jose4j | Not affected | |
| Red Hat build of Quarkus | org.bitbucket.b_c/jose4j | Affected | |
| Red Hat build of Quarkus | org.bitbucket.b_c/jose4j | Out of support scope | |
| streams for Apache Kafka | jose4j | Affected |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.5 | |
| Attack Vector | Network | |
| Attack Complexity | Low | |
| Privileges Required | None | |
| User Interaction | None | |
| Scope | Unchanged | |
| Confidentiality Impact | None | |
| Integrity Impact | None | |
| Availability Impact | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.