Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jose4j-0.7.6.jar: 3 vulnerabilities (highest severity is: 7.5) reachable #12

Open
mend-for-github-com bot opened this issue Sep 22, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Sep 22, 2023

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: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar

Found in HEAD commit: 2ff65424c48b6f26c40b741a18dfe5db8d9c8841

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (jose4j version) Remediation Possible** Reachability
CVE-2023-31582 High 7.5 Not Defined 0.1% jose4j-0.7.6.jar Direct 0.9.3

Reachable

CVE-2023-51775 Medium 6.5 Not Defined 0.0% jose4j-0.7.6.jar Direct 0.9.4

Reachable

WS-2023-0116 Medium 5.3 Not Defined jose4j-0.7.6.jar Direct 0.9.3

Reachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-31582

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: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar

Dependency Hierarchy:

  • jose4j-0.7.6.jar (Vulnerable Library)

Found in HEAD commit: 2ff65424c48b6f26c40b741a18dfe5db8d9c8841

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.webwolf.jwt.JWTToken (Application)
  -> org.jose4j.jwt.consumer.JwtConsumer (Extension)
   -> org.jose4j.jwe.JsonWebEncryption (Extension)
    -> org.jose4j.jwx.Headers (Extension)
     -> org.jose4j.jwk.JsonWebKey$Factory (Extension)
      -> org.jose4j.jwk.RsaJsonWebKey (Extension)
       -> ❌ org.jose4j.keys.RsaKeyUtil (Vulnerable Component)

Vulnerability Details

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

Publish Date: 2023-10-24

URL: CVE-2023-31582

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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-24

Fix Resolution: 0.9.3

In order to enable automatic remediation, please create workflow rules

CVE-2023-51775

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: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar

Dependency Hierarchy:

  • jose4j-0.7.6.jar (Vulnerable Library)

Found in HEAD commit: 2ff65424c48b6f26c40b741a18dfe5db8d9c8841

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.webwolf.jwt.JWTToken (Application)
  -> org.jose4j.jwt.consumer.JwtConsumer (Extension)
   -> ❌ org.jose4j.jwe.JsonWebEncryption (Vulnerable Component)

Vulnerability Details

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.

Publish Date: 2023-12-25

URL: CVE-2023-51775

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-51775

Release Date: 2023-12-25

Fix Resolution: 0.9.4

In order to enable automatic remediation, please create workflow rules

WS-2023-0116

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: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bitbucket/b_c/jose4j/0.7.6/jose4j-0.7.6.jar

Dependency Hierarchy:

  • jose4j-0.7.6.jar (Vulnerable Library)

Found in HEAD commit: 2ff65424c48b6f26c40b741a18dfe5db8d9c8841

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.webwolf.jwt.JWTToken (Application)
  -> org.jose4j.jws.JsonWebSignature (Extension)
   -> org.jose4j.jwa.AlgorithmFactoryFactory (Extension)
    -> ❌ org.jose4j.jwe.RsaKeyManagementAlgorithm (Vulnerable Component)

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-12-04

URL: WS-2023-0116

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

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: GHSA-jgvc-jfgh-rjvv

Release Date: 2024-12-04

Fix Resolution: 0.9.3

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Sep 22, 2023
@mend-for-github-com mend-for-github-com bot changed the title jose4j-0.7.6.jar: 1 vulnerabilities (highest severity is: 5.3) jose4j-0.7.6.jar: 1 vulnerabilities (highest severity is: 5.3) reachable Sep 26, 2023
@mend-for-github-com mend-for-github-com bot changed the title jose4j-0.7.6.jar: 1 vulnerabilities (highest severity is: 5.3) reachable jose4j-0.7.6.jar: 2 vulnerabilities (highest severity is: 5.5) reachable Oct 25, 2023
@mend-for-github-com mend-for-github-com bot changed the title jose4j-0.7.6.jar: 2 vulnerabilities (highest severity is: 5.5) reachable jose4j-0.7.6.jar: 2 vulnerabilities (highest severity is: 7.5) reachable Oct 31, 2023
@mend-for-github-com mend-for-github-com bot changed the title jose4j-0.7.6.jar: 2 vulnerabilities (highest severity is: 7.5) reachable jose4j-0.7.6.jar: 3 vulnerabilities (highest severity is: 7.5) reachable Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants