opensearch-project / opensearch-java

Java Client for OpenSearch
Apache License 2.0
118 stars 183 forks source link

sts-2.21.0.jar: 2 vulnerabilities (highest severity is: 7.5) - autoclosed #670

Closed mend-for-github-com[bot] closed 11 months ago

mend-for-github-com[bot] commented 11 months ago
Vulnerable Library - sts-2.21.0.jar

Path to dependency file: /java-client/build.gradle.kts

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.94.Final/cd9121ce24d6d3f2898946d04b0ef3ec548b00b4/netty-handler-4.1.94.Final.jar

Found in HEAD commit: 978a02144130c34680aef3f28334fde22897bac2

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (sts version) Remediation Possible**
CVE-2023-44487 High 7.5 netty-codec-http2-4.1.94.Final.jar Transitive N/A*
CVE-2023-4586 High 7.4 netty-handler-4.1.94.Final.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2023-44487 ### Vulnerable Library - netty-codec-http2-4.1.94.Final.jar

Library home page: https://netty.io/

Path to dependency file: /java-client/build.gradle.kts

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http2/4.1.94.Final/f651595784d6cca4cbca6a8ad74c48fceed6cea8/netty-codec-http2-4.1.94.Final.jar

Dependency Hierarchy: - sts-2.21.0.jar (Root Library) - netty-nio-client-2.21.0.jar - :x: **netty-codec-http2-4.1.94.Final.jar** (Vulnerable Library)

Found in HEAD commit: 978a02144130c34680aef3f28334fde22897bac2

Found in base branch: main

### Vulnerability Details

The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.

Publish Date: 2023-10-10

URL: CVE-2023-44487

### 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-44487

Release Date: 2023-10-10

Fix Resolution: org.eclipse.jetty.http2:http2-server:9.4.53.v20231009,10.0.17,11.0.17, org.eclipse.jetty.http2:jetty-http2-server:12.0.2, org.eclipse.jetty.http2:http2-common:9.4.53.v20231009,10.0.17,11.0.17, org.eclipse.jetty.http2:jetty-http2-common:12.0.2, nghttp - v1.57.0, swift-nio-http2 - 1.28.0, io.netty:netty-codec-http2:4.1.100.Final, trafficserver - 9.2.3, org.apache.tomcat:tomcat-coyote:8.5.94,9.0.81,10.1.14, org.apache.tomcat.embed:tomcat-embed-core:8.5.94,9.0.81,10.1.14

CVE-2023-4586 ### Vulnerable Library - netty-handler-4.1.94.Final.jar

Library home page: https://netty.io/

Path to dependency file: /java-client/build.gradle.kts

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-handler/4.1.94.Final/cd9121ce24d6d3f2898946d04b0ef3ec548b00b4/netty-handler-4.1.94.Final.jar

Dependency Hierarchy: - sts-2.21.0.jar (Root Library) - netty-nio-client-2.21.0.jar - :x: **netty-handler-4.1.94.Final.jar** (Vulnerable Library)

Found in HEAD commit: 978a02144130c34680aef3f28334fde22897bac2

Found in base branch: main

### Vulnerability Details

A vulnerability was found in the Hot Rod client. This security issue occurs as the Hot Rod client does not enable hostname validation when using TLS, possibly resulting in a man-in-the-middle (MITM) attack.

Publish Date: 2023-10-04

URL: CVE-2023-4586

### CVSS 3 Score Details (7.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2023-4586

Release Date: 2023-10-04

Fix Resolution: io.netty:netty-handler - 5.0.0.Alpha1

mend-for-github-com[bot] commented 11 months 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.