Jason-Clark-FG / OpenMetadata-FG

Factors Group Customizations to the OpenMetadata repository
Apache License 2.0
0 stars 0 forks source link

feign-okhttp-10.12.jar: 3 vulnerabilities (highest severity is: 7.5) - autoclosed #61

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

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - feign-okhttp-10.12.jar

Path to dependency file: /openmetadata-clients/openmetadata-java-client/target/generated-sources/swagger/build.gradle

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.3.71.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.71/898273189ad22779da6bed88ded39b14cb5fd432/kotlin-stdlib-1.3.71.jar

Found in HEAD commit: 0d43a8050e6c73014cff9be7dec96a81296f3061

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (feign-okhttp version) Remediation Possible**
CVE-2023-3635 High 7.5 okio-2.6.0.jar Transitive 11.0
CVE-2022-24329 Medium 5.3 kotlin-stdlib-1.3.71.jar Transitive 11.0
CVE-2020-29582 Medium 5.3 kotlin-stdlib-1.3.71.jar Transitive 11.0

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

Details

CVE-2023-3635 ### Vulnerable Library - okio-2.6.0.jar

A modern I/O API for Java

Library home page: https://github.com/square/okio/

Path to dependency file: /openmetadata-clients/openmetadata-java-client/target/generated-sources/swagger/build.gradle

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/com.squareup.okio/okio/jars/okio-2.6.0.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/2.6.0/f06923d428f3c8e6f571043ec29a45d0cd9d2bf/okio-jvm-2.6.0.jar

Dependency Hierarchy: - feign-okhttp-10.12.jar (Root Library) - okhttp-4.6.0.jar - :x: **okio-2.6.0.jar** (Vulnerable Library)

Found in HEAD commit: 0d43a8050e6c73014cff9be7dec96a81296f3061

Found in base branch: main

### Vulnerability Details

GzipSource does not handle an exception that might be raised when parsing a malformed gzip buffer. This may lead to denial of service of the Okio client when handling a crafted GZIP archive, by using the GzipSource class.

Publish Date: 2023-07-12

URL: CVE-2023-3635

### 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://www.cve.org/CVERecord?id=CVE-2023-3635

Release Date: 2023-07-12

Fix Resolution (com.squareup.okio:okio): 3.0.0-alpha.10

Direct dependency fix Resolution (io.github.openfeign:feign-okhttp): 11.0

In order to enable automatic remediation, please create workflow rules

CVE-2022-24329 ### Vulnerable Library - kotlin-stdlib-1.3.71.jar

Kotlin Standard Library for JVM

Path to dependency file: /openmetadata-clients/openmetadata-java-client/target/generated-sources/swagger/build.gradle

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.3.71.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.71/898273189ad22779da6bed88ded39b14cb5fd432/kotlin-stdlib-1.3.71.jar

Dependency Hierarchy: - feign-okhttp-10.12.jar (Root Library) - okhttp-4.6.0.jar - :x: **kotlin-stdlib-1.3.71.jar** (Vulnerable Library)

Found in HEAD commit: 0d43a8050e6c73014cff9be7dec96a81296f3061

Found in base branch: main

### Vulnerability Details

In JetBrains Kotlin before 1.6.0, it was not possible to lock dependencies for Multiplatform Gradle Projects.

Publish Date: 2022-02-25

URL: CVE-2022-24329

### 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: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-2qp4-g3q3-f92w

Release Date: 2022-02-25

Fix Resolution (org.jetbrains.kotlin:kotlin-stdlib): 1.6.0-M1

Direct dependency fix Resolution (io.github.openfeign:feign-okhttp): 11.0

In order to enable automatic remediation, please create workflow rules

CVE-2020-29582 ### Vulnerable Library - kotlin-stdlib-1.3.71.jar

Kotlin Standard Library for JVM

Path to dependency file: /openmetadata-clients/openmetadata-java-client/target/generated-sources/swagger/build.gradle

Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.3.71.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.71/898273189ad22779da6bed88ded39b14cb5fd432/kotlin-stdlib-1.3.71.jar

Dependency Hierarchy: - feign-okhttp-10.12.jar (Root Library) - okhttp-4.6.0.jar - :x: **kotlin-stdlib-1.3.71.jar** (Vulnerable Library)

Found in HEAD commit: 0d43a8050e6c73014cff9be7dec96a81296f3061

Found in base branch: main

### Vulnerability Details

In JetBrains Kotlin before 1.4.21, a vulnerable Java API was used for temporary file and folder creation. An attacker was able to read data from such files and list directories due to insecure permissions.

Publish Date: 2021-02-03

URL: CVE-2020-29582

### 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-cqj8-47ch-rvvq

Release Date: 2021-02-03

Fix Resolution (org.jetbrains.kotlin:kotlin-stdlib): 1.4.21

Direct dependency fix Resolution (io.github.openfeign:feign-okhttp): 11.0

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[bot] commented 1 year 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.