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..
Path to dependency file: /webgoat-integration-tests/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar,/m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar
RSA1_5 in jose4j is susceptible to chosen ciphertext attacks. The
attack allows to decrypt RSA1_5 or RSA_OAEP encrypted ciphertexts. It may be feasible to sign with affected keys.
WS-2023-0116 - Medium Severity Vulnerability
Vulnerable Library - jose4j-0.7.6.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: /webgoat-integration-tests/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar,/m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar
Dependency Hierarchy: - :x: **jose4j-0.7.6.jar** (Vulnerable Library)
Found in HEAD commit: 3f40aaa55b2c1a3432a061c27496ea82f484838a
Found in base branch: develop
Vulnerability Details
RSA1_5 in jose4j is susceptible to chosen ciphertext attacks. The attack allows to decrypt RSA1_5 or RSA_OAEP encrypted ciphertexts. It may be feasible to sign with affected keys.
Publish Date: 2024-11-03
URL: WS-2023-0116
CVSS 3 Score Details (5.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-jgvc-jfgh-rjvv
Release Date: 2024-11-03
Fix Resolution: 0.9.3
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.