Skip to content

bcprov-jdk15on-1.68.jar: 2 vulnerabilities (highest severity is: 7.5) unreachable #21

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

Open
copper-mend-app bot opened this issue May 23, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@copper-mend-app
Copy link

copper-mend-app bot commented May 23, 2024

Vulnerable Library - bcprov-jdk15on-1.68.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 and up.

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar

Found in HEAD commit: 8461cdd05825ceec35c8f9c64c0a84eee79836a4

Mend has checked all newer package trees, and you are on the least vulnerable package!

Please note: There might be a version that explicitly solves one or more of the vulnerabilities listed below, but we do not recommend it. For more info about the optional fixes, check the "Details" section below.

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (bcprov-jdk15on version) Fix PR available Reachability
CVE-2024-30172 High 7.5 Not Defined 0.0% bcprov-jdk15on-1.68.jar Direct N/A

Unreachable

CVE-2024-29857 High 7.5 Not Defined 0.0% bcprov-jdk15on-1.68.jar Direct N/A

Unreachable

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

Details

CVE-2024-30172

Vulnerable Library - bcprov-jdk15on-1.68.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 and up.

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar

Dependency Hierarchy:

  • bcprov-jdk15on-1.68.jar (Vulnerable Library)

Found in HEAD commit: 8461cdd05825ceec35c8f9c64c0a84eee79836a4

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

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

URL: CVE-2024-30172

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

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: bcgit/bc-java#1599

Release Date: 2024-05-09

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

In order to enable automatic remediation, please create workflow rules

CVE-2024-29857

Vulnerable Library - bcprov-jdk15on-1.68.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 and up.

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar

Dependency Hierarchy:

  • bcprov-jdk15on-1.68.jar (Vulnerable Library)

Found in HEAD commit: 8461cdd05825ceec35c8f9c64c0a84eee79836a4

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. 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

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

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: org.bouncycastle:bcprov-jdk15to18:1.78, org.bouncycastle:bcprov-jdk18on:1.78, BouncyCastle.Cryptography - 2.3.1

In order to enable automatic remediation, please create workflow rules

@copper-mend-app copper-mend-app bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 23, 2024
@copper-mend-app copper-mend-app bot changed the title bcprov-jdk15on-1.68.jar: 1 vulnerabilities (highest severity is: 7.5) bcprov-jdk15on-1.68.jar: 2 vulnerabilities (highest severity is: 7.5) Feb 20, 2025
@copper-mend-app copper-mend-app bot changed the title bcprov-jdk15on-1.68.jar: 2 vulnerabilities (highest severity is: 7.5) bcprov-jdk15on-1.68.jar: 2 vulnerabilities (highest severity is: 7.5) unreachable Mar 12, 2025
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