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

bcprov-jdk15to18-1.74.jar: 3 vulnerabilities (highest severity is: 7.5) - autoclosed #63

Closed
mend-for-github-com bot opened this issue Jul 9, 2024 · 3 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Jul 9, 2024

Vulnerable Library - bcprov-jdk15to18-1.74.jar

The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.

Library home page: http://www.bouncycastle.org/java.html

Path to dependency file: /oci-objectstorage-fixture/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar

Found in HEAD commit: 9c802f6d55a03ead240b172e76b296390ec9066f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (bcprov-jdk15to18 version) Remediation Possible**
CVE-2024-29857 High 7.5 bcprov-jdk15to18-1.74.jar Direct 1.78
CVE-2024-30172 Medium 5.9 bcprov-jdk15to18-1.74.jar Direct org.bouncycastle:bcprov-jdk18on:1.78,org.bouncycastle:bcprov-jdk15to18:1.78, org.bouncycastle:bcprov-jdk14:1.78, BouncyCastle.Cryptography - 2.3.1
CVE-2024-30171 Medium 5.3 bcprov-jdk15to18-1.74.jar Direct 1.78

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

Details

CVE-2024-29857

Vulnerable Library - bcprov-jdk15to18-1.74.jar

The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.

Library home page: http://www.bouncycastle.org/java.html

Path to dependency file: /oci-objectstorage-fixture/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar

Dependency Hierarchy:

  • bcprov-jdk15to18-1.74.jar (Vulnerable Library)

Found in HEAD commit: 9c802f6d55a03ead240b172e76b296390ec9066f

Found in base branch: main

Vulnerability Details

An issue was discovered in Bouncy Castle Java Cryptography APIs before BC 1.78. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.

Publish Date: 2024-05-09

URL: CVE-2024-29857

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: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-8xfc-gm6g-vgpv

Release Date: 2024-05-09

Fix Resolution: 1.78

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-30172

Vulnerable Library - bcprov-jdk15to18-1.74.jar

The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.

Library home page: http://www.bouncycastle.org/java.html

Path to dependency file: /oci-objectstorage-fixture/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar

Dependency Hierarchy:

  • bcprov-jdk15to18-1.74.jar (Vulnerable Library)

Found in HEAD commit: 9c802f6d55a03ead240b172e76b296390ec9066f

Found in base branch: main

Vulnerability Details

An issue was discovered in Bouncy Castle Java Cryptography APIs before 1.78. An Ed25519 verification code infinite loop can occur via a crafted signature and public key.

Publish Date: 2024-05-14

URL: CVE-2024-30172

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • 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: GHSA-m44j-cfrm-g8qc

Release Date: 2024-03-24

Fix Resolution: org.bouncycastle:bcprov-jdk18on:1.78,org.bouncycastle:bcprov-jdk15to18:1.78, org.bouncycastle:bcprov-jdk14:1.78, BouncyCastle.Cryptography - 2.3.1

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-30171

Vulnerable Library - bcprov-jdk15to18-1.74.jar

The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.

Library home page: http://www.bouncycastle.org/java.html

Path to dependency file: /oci-objectstorage-fixture/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15to18/1.74/b1a91d0d102042e4ec02084384e1b52b73f125ab/bcprov-jdk15to18-1.74.jar

Dependency Hierarchy:

  • bcprov-jdk15to18-1.74.jar (Vulnerable Library)

Found in HEAD commit: 9c802f6d55a03ead240b172e76b296390ec9066f

Found in base branch: main

Vulnerability Details

An issue was discovered in Bouncy Castle Java TLS API and JSSE Provider before 1.78. Timing-based leakage may occur in RSA based handshakes because of exception processing.

Publish Date: 2024-05-14

URL: CVE-2024-30171

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2024-03-24

Fix Resolution: 1.78

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@dblock
Copy link
Member

dblock commented Jul 29, 2024

[Catch All Triage - 1, 2, 3, 4]

@dblock dblock removed the untriaged label Jul 29, 2024
@dblock
Copy link
Member

dblock commented Jul 29, 2024

@samuel-oci maybe someone can help with the high CVEs here?

@mend-for-github-com mend-for-github-com bot changed the title bcprov-jdk15to18-1.74.jar: 3 vulnerabilities (highest severity is: 7.5) bcprov-jdk15to18-1.74.jar: 3 vulnerabilities (highest severity is: 7.5) - autoclosed Aug 2, 2024
Copy link
Contributor Author

✔️ 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.

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

1 participant