opensearch-project / opensearch-oci-object-storage

OpenSearch Repository Plugin For Oci Object Storage
Apache License 2.0
7 stars 19 forks source link

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

Closed mend-for-github-com[bot] closed 1 month ago

mend-for-github-com[bot] commented 2 months ago
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: - :x: **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: https://github.com/advisories/GHSA-8xfc-gm6g-vgpv

Release Date: 2024-05-09

Fix Resolution: 1.78

:rescue_worker_helmet: 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: - :x: **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: https://github.com/advisories/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

:rescue_worker_helmet: 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: - :x: **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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

dblock commented 1 month ago

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

dblock commented 1 month ago

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

mend-for-github-com[bot] commented 1 month ago

: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.