The jose.4.j library is a robust and easy to use open source implementation of JSON Web Token (JWT) and the JOSE specification suite (JWS, JWE, and JWK).
It is written in Java and relies solely on the JCA APIs for cryptography.
Please see https://bitbucket.org/b_c/jose4j/wiki/Home for more info, examples, etc..
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2023-31582 - High Severity Vulnerability
Vulnerable Library - jose4j-0.7.9.jar
The jose.4.j library is a robust and easy to use open source implementation of JSON Web Token (JWT) and the JOSE specification suite (JWS, JWE, and JWK). It is written in Java and relies solely on the JCA APIs for cryptography. Please see https://bitbucket.org/b_c/jose4j/wiki/Home for more info, examples, etc..
Library home page: https://bitbucket.org/b_c/jose4j/
Path to dependency file: /elytron-oidc-client/subsystem/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.9/jose4j-0.7.9.jar
Dependency Hierarchy: - wildfly-elytron-http-oidc-1.17.0.Final.jar (Root Library) - :x: **jose4j-0.7.9.jar** (Vulnerable Library)
Found in HEAD commit: 9e595c9d962465e607963dfd399a6ac4a9cc9550
Found in base branch: main
Vulnerability Details
jose4j before v0.9.3 allows attackers to set a low iteration count of 1000 or less.
Publish Date: 2023-10-25
URL: CVE-2023-31582
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://bitbucket.org/b_c/jose4j/issues/203/insecure-support-of-setting-pbe-less-then
Release Date: 2023-10-25
Fix Resolution (org.bitbucket.b_c:jose4j): 0.9.3
Direct dependency fix Resolution (org.wildfly.security:wildfly-elytron-http-oidc): 1.20.4.Final
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.