opentok / Opentok-Java-SDK

OpenTok Server SDK for Java
https://tokbox.com/developer
MIT License
26 stars 64 forks source link

wiremock-jre8-2.35.2.jar: 9 vulnerabilities (highest severity is: 7.5) reachable #254

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

mend-for-github-com[bot] commented 6 months ago
Vulnerable Library - wiremock-jre8-2.35.2.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-servlets/9.4.49.v20220914/fbbc22055f13b83475848acd4449df67e794c6b0/jetty-servlets-9.4.49.v20220914.jar

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

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 (wiremock-jre8 version) Fix PR available Reachability
CVE-2024-22201 High 7.5 Not Defined 0.0% http2-common-9.4.49.v20220914.jar Transitive N/A*

Reachable

CVE-2023-44487 High 7.5 High 73.2% detected in multiple dependencies Transitive N/A*

Reachable

CVE-2023-36478 High 7.5 Not Defined 0.2% detected in multiple dependencies Transitive N/A*

Reachable

CVE-2023-51074 Medium 5.3 Not Defined 0.0% json-path-2.7.0.jar Transitive N/A*

Reachable

CVE-2023-40167 Medium 5.3 Not Defined 0.1% jetty-http-9.4.49.v20220914.jar Transitive N/A*

Reachable

CVE-2023-26049 Medium 5.3 Not Defined 0.1% detected in multiple dependencies Transitive N/A*

Reachable

CVE-2023-26048 Medium 5.3 Not Defined 0.2% jetty-server-9.4.49.v20220914.jar Transitive N/A*

Reachable

WS-2023-0236 Low 3.9 Not Defined jetty-xml-9.4.49.v20220914.jar Transitive N/A*

Reachable

CVE-2023-36479 Medium 4.3 Not Defined 0.1% jetty-servlets-9.4.49.v20220914.jar Transitive N/A*

Unreachable

*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-2024-22201 ### Vulnerable Library - http2-common-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.http2/http2-common/9.4.49.v20220914/efa060236180dfbb3f1ea28422486ea07060b138/http2-common-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - http2-server-9.4.49.v20220914.jar - :x: **http2-common-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> com.github.tomakehurst.wiremock.recording.SnapshotRecordResultDeserialiser$1 (Extension) -> com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory (Extension) ... -> org.eclipse.jetty.util.ssl.SslContextFactory (Extension) -> org.eclipse.jetty.http2.HTTP2Session (Extension) -> ❌ org.eclipse.jetty.http2.HTTP2Session$StreamsState (Vulnerable Component) ```

### Vulnerability Details

Jetty is a Java based web server and servlet engine. An HTTP/2 SSL connection that is established and TCP congested will be leaked when it times out. An attacker can cause many connections to end up in this state, and the server may run out of file descriptors, eventually causing the server to stop accepting new connections from valid clients. The vulnerability is patched in 9.4.54, 10.0.20, 11.0.20, and 12.0.6.

Publish Date: 2024-02-26

URL: CVE-2024-22201

### 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: https://github.com/jetty/jetty.project/security/advisories/GHSA-rggv-cv7r-mw98

Release Date: 2024-02-26

Fix Resolution: org.eclipse.jetty.http2:http2-common:9.4.54,10.0.20,11.0.20, org.eclipse.jetty.http2:jetty-http2-common:12.0.6, org.eclipse.jetty.http3:http3-common:10.0.20,11.0.20, org.eclipse.jetty.http3:jetty-http3-common:12.0.6

CVE-2023-44487 ### Vulnerable Libraries - http2-common-9.4.49.v20220914.jar, http2-server-9.4.49.v20220914.jar

### http2-common-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.http2/http2-common/9.4.49.v20220914/efa060236180dfbb3f1ea28422486ea07060b138/http2-common-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - http2-server-9.4.49.v20220914.jar - :x: **http2-common-9.4.49.v20220914.jar** (Vulnerable Library) ### http2-server-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.http2/http2-server/9.4.49.v20220914/95295e0e67287e491a65b989cf9d82aa500e743b/http2-server-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - :x: **http2-server-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> com.github.tomakehurst.wiremock.recording.SnapshotRecordResultDeserialiser$1 (Extension) -> org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory (Extension) ... -> org.eclipse.jetty.http2.parser.Parser (Extension) -> org.eclipse.jetty.http2.parser.HeadersBodyParser (Extension) -> ❌ org.eclipse.jetty.http2.parser.HeadersBodyParser$State (Vulnerable Component) ```

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

### Threat Assessment

Exploit Maturity: High

EPSS: 73.2%

### 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, Microsoft.AspNetCore.App - 6.0.23,7.0.12, contour - v1.26.1, proxygen - v2023.10.16.00, grpc-go - v1.56.3, v1.57.1, v1.58.3

CVE-2023-36478 ### Vulnerable Libraries - http2-hpack-9.4.49.v20220914.jar, jetty-http-9.4.49.v20220914.jar

### http2-hpack-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.http2/http2-hpack/9.4.49.v20220914/76836770a1a651d04254e079664ef69b1caf563b/http2-hpack-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - jetty-bom-9.4.49.v20220914.pom - :x: **http2-hpack-9.4.49.v20220914.jar** (Vulnerable Library) ### jetty-http-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/9.4.49.v20220914/ef1e3bde212115eb4bb0740aaf79029b624d4e30/jetty-http-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - jetty-server-9.4.49.v20220914.jar - :x: **jetty-http-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> com.github.tomakehurst.wiremock.recording.SnapshotRecordResultDeserialiser$2 (Extension) -> com.github.tomakehurst.wiremock.jetty9.JettyHttpServer (Extension) ... -> org.eclipse.jetty.http2.server.AbstractHTTP2ServerConnectionFactory (Extension) -> org.eclipse.jetty.http2.generator.Generator (Extension) -> ❌ org.eclipse.jetty.http2.hpack.HpackEncoder (Vulnerable Component) ```

### Vulnerability Details

Eclipse Jetty provides a web server and servlet container. In versions 11.0.0 through 11.0.15, 10.0.0 through 10.0.15, and 9.0.0 through 9.4.52, an integer overflow in `MetaDataBuilder.checkSize` allows for HTTP/2 HPACK header values to exceed their size limit. `MetaDataBuilder.java` determines if a header name or value exceeds the size limit, and throws an exception if the limit is exceeded. However, when length is very large and huffman is true, the multiplication by 4 in line 295 will overflow, and length will become negative. `(_size+length)` will now be negative, and the check on line 296 will not be triggered. Furthermore, `MetaDataBuilder.checkSize` allows for user-entered HPACK header value sizes to be negative, potentially leading to a very large buffer allocation later on when the user-entered size is multiplied by 2. This means that if a user provides a negative length value (or, more precisely, a length value which, when multiplied by the 4/3 fudge factor, is negative), and this length value is a very large positive number when multiplied by 2, then the user can cause a very large buffer to be allocated on the server. Users of HTTP/2 can be impacted by a remote denial of service attack. The issue has been fixed in versions 11.0.16, 10.0.16, and 9.4.53. There are no known workarounds.

Publish Date: 2023-10-10

URL: CVE-2023-36478

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

### 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/eclipse/jetty.project/security/advisories/GHSA-wgh7-54f2-x98r

Release Date: 2023-10-10

Fix Resolution: org.eclipse.jetty.http2:http2-hpack:9.4.53.v20231009,10.0.16,11.0.16;org.eclipse.jetty.http3:http3-qpack:10.0.16,11.0.16;org.eclipse.jetty:jetty-http:9.4.53.v20231009,10.0.16,11.0.16

CVE-2023-51074 ### Vulnerable Library - json-path-2.7.0.jar

Java port of Stefan Goessner JsonPath.

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

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/2.7.0/f9d7d9659f2694e61142046ff8a216c047f263e8/json-path-2.7.0.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - :x: **json-path-2.7.0.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.ObjectReader (Extension) -> com.github.tomakehurst.wiremock.matching.StringValuePatternJsonDeserializer (Extension) -> com.github.tomakehurst.wiremock.matching.MatchesJsonPathPattern (Extension) -> com.jayway.jsonpath.JsonPath (Extension) -> ❌ com.jayway.jsonpath.internal.path.PathCompiler (Vulnerable Component) ```

### Vulnerability Details

json-path v2.8.0 was discovered to contain a stack overflow via the Criteria.parse() method.

Publish Date: 2023-12-27

URL: CVE-2023-51074

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-51074

Release Date: 2023-12-27

Fix Resolution: com.jayway.jsonpath:json-path:2.9.0

CVE-2023-40167 ### Vulnerable Library - jetty-http-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/9.4.49.v20220914/ef1e3bde212115eb4bb0740aaf79029b624d4e30/jetty-http-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - jetty-server-9.4.49.v20220914.jar - :x: **jetty-http-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.ObjectMapper (Extension) -> com.fasterxml.jackson.databind.ObjectWriter (Extension) -> com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory (Extension) ... -> org.eclipse.jetty.server.HttpConnectionFactory (Extension) -> org.eclipse.jetty.server.HttpConnection (Extension) -> ❌ org.eclipse.jetty.http.HttpParser (Vulnerable Component) ```

### Vulnerability Details

Jetty is a Java based web server and servlet engine. Prior to versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1, Jetty accepts the `+` character proceeding the content-length value in a HTTP/1 header field. This is more permissive than allowed by the RFC and other servers routinely reject such requests with 400 responses. There is no known exploit scenario, but it is conceivable that request smuggling could result if jetty is used in combination with a server that does not close the connection after sending such a 400 response. Versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1 contain a patch for this issue. There is no workaround as there is no known exploit scenario.

Publish Date: 2023-09-15

URL: CVE-2023-40167

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### 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/eclipse/jetty.project/security/advisories/GHSA-hmr7-m48g-48f6

Release Date: 2023-09-15

Fix Resolution: org.eclipse.jetty:jetty-http:9.4.52.v20230823,10.0.16,11.0.16,12.0.1

CVE-2023-26049 ### Vulnerable Libraries - jetty-http-9.4.49.v20220914.jar, jetty-server-9.4.49.v20220914.jar

### jetty-http-9.4.49.v20220914.jar

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/9.4.49.v20220914/ef1e3bde212115eb4bb0740aaf79029b624d4e30/jetty-http-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - jetty-server-9.4.49.v20220914.jar - :x: **jetty-http-9.4.49.v20220914.jar** (Vulnerable Library) ### jetty-server-9.4.49.v20220914.jar

The core jetty server artifact.

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-server/9.4.49.v20220914/502f99eed028139e71a4afebefa291ace12b9c1c/jetty-server-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - :x: **jetty-server-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.ObjectMapper (Extension) -> com.fasterxml.jackson.databind.ObjectWriter (Extension) -> com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory (Extension) ... -> org.eclipse.jetty.server.HttpConnectionFactory (Extension) -> org.eclipse.jetty.server.HttpConnection (Extension) -> ❌ org.eclipse.jetty.http.HttpParser (Vulnerable Component) ```

### Vulnerability Details

Jetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the cookie parsing mechanism. If Jetty sees a cookie VALUE that starts with `"` (double quote), it will continue to read the cookie string until it sees a closing quote -- even if a semicolon is encountered. So, a cookie header such as: `DISPLAY_LANGUAGE="b; JSESSIONID=1337; c=d"` will be parsed as one cookie, with the name DISPLAY_LANGUAGE and a value of b; JSESSIONID=1337; c=d instead of 3 separate cookies. This has security implications because if, say, JSESSIONID is an HttpOnly cookie, and the DISPLAY_LANGUAGE cookie value is rendered on the page, an attacker can smuggle the JSESSIONID cookie into the DISPLAY_LANGUAGE cookie and thereby exfiltrate it. This is significant when an intermediary is enacting some policy based on cookies, so a smuggled cookie can bypass that policy yet still be seen by the Jetty server or its logging system. This issue has been addressed in versions 9.4.51, 10.0.14, 11.0.14, and 12.0.0.beta0 and users are advised to upgrade. There are no known workarounds for this issue.

Publish Date: 2023-04-18

URL: CVE-2023-26049

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### 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-p26g-97m4-6q7c

Release Date: 2023-04-18

Fix Resolution: org.eclipse.jetty:jetty-http:9.4.51.v20230217,10.0.14,11.0.14, org.eclipse.jetty:jetty-runner:9.4.51.v20230217,10.0.14,11.0.14, org.eclipse.jetty:jetty-server:9.4.51.v20230217,10.0.14,11.0.14

CVE-2023-26048 ### Vulnerable Library - jetty-server-9.4.49.v20220914.jar

The core jetty server artifact.

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-server/9.4.49.v20220914/502f99eed028139e71a4afebefa291ace12b9c1c/jetty-server-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - :x: **jetty-server-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.json.JsonMapper (Extension) -> com.github.tomakehurst.wiremock.recording.SnapshotRecordResultDeserialiser$1 (Extension) -> com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory (Extension) ... -> org.eclipse.jetty.server.Server (Extension) -> org.eclipse.jetty.server.Request (Extension) -> ❌ org.eclipse.jetty.server.MultiParts$MultiPartsUtilParser (Vulnerable Component) ```

### Vulnerability Details

Jetty is a java based web server and servlet engine. In affected versions servlets with multipart support (e.g. annotated with `@MultipartConfig`) that call `HttpServletRequest.getParameter()` or `HttpServletRequest.getParts()` may cause `OutOfMemoryError` when the client sends a multipart request with a part that has a name but no filename and very large content. This happens even with the default settings of `fileSizeThreshold=0` which should stream the whole part content to disk. An attacker client may send a large multipart request and cause the server to throw `OutOfMemoryError`. However, the server may be able to recover after the `OutOfMemoryError` and continue its service -- although it may take some time. This issue has been patched in versions 9.4.51, 10.0.14, and 11.0.14. Users are advised to upgrade. Users unable to upgrade may set the multipart parameter `maxRequestSize` which must be set to a non-negative value, so the whole multipart content is limited (although still read into memory).

Publish Date: 2023-04-18

URL: CVE-2023-26048

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/eclipse/jetty.project/security/advisories/GHSA-qw69-rqj8-6qw8

Release Date: 2023-04-18

Fix Resolution: org.eclipse.jetty:jetty-server:9.4.51.v20230217,10.0.14,11.0.14;org.eclipse.jetty:jetty-runner:9.4.51.v20230217,10.0.14,11.0.14

WS-2023-0236 ### Vulnerable Library - jetty-xml-9.4.49.v20220914.jar

The jetty xml utilities.

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-xml/9.4.49.v20220914/34e602eae6dd2fe54a00ec77fc98c5e77737906b/jetty-xml-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - jetty-webapp-9.4.49.v20220914.jar - :x: **jetty-xml-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.opentok.OpenTok (Application) -> com.fasterxml.jackson.databind.ObjectReader (Extension) -> com.github.tomakehurst.wiremock.recording.SnapshotRecordResultDeserialiser$1 (Extension) -> org.eclipse.jetty.util.ssl.SslContextFactory (Extension) ... -> org.eclipse.jetty.webapp.WebXmlConfiguration (Extension) -> org.eclipse.jetty.webapp.WebDescriptor (Extension) -> ❌ org.eclipse.jetty.xml.XmlParser (Vulnerable Component) ```

### Vulnerability Details

XmlParser is vulnerable to XML external entity (XXE) vulnerability. XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml. The vulnerability is patched in versions 10.0.16, 11.0.16, and 12.0.0.

Publish Date: 2023-07-10

URL: WS-2023-0236

### Threat Assessment

Exploit Maturity: Not Defined

EPSS:

### CVSS 3 Score Details (3.9)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/eclipse/jetty.project/security/advisories/GHSA-58qw-p7qm-5rvh

Release Date: 2023-07-10

Fix Resolution: org.eclipse.jetty:jetty-xml:10.0.16,11.0.16,12.0.0

CVE-2023-36479 ### Vulnerable Library - jetty-servlets-9.4.49.v20220914.jar

Utility Servlets from Jetty

Library home page: https://eclipse.org/jetty

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-servlets/9.4.49.v20220914/fbbc22055f13b83475848acd4449df67e794c6b0/jetty-servlets-9.4.49.v20220914.jar

Dependency Hierarchy: - wiremock-jre8-2.35.2.jar (Root Library) - :x: **jetty-servlets-9.4.49.v20220914.jar** (Vulnerable Library)

Found in HEAD commit: a46d335ceb24552a30e5bdfb5817a5b394d02644

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

Eclipse Jetty Canonical Repository is the canonical repository for the Jetty project. Users of the CgiServlet with a very specific command structure may have the wrong command executed. If a user sends a request to a org.eclipse.jetty.servlets.CGI Servlet for a binary with a space in its name, the servlet will escape the command by wrapping it in quotation marks. This wrapped command, plus an optional command prefix, will then be executed through a call to Runtime.exec. If the original binary name provided by the user contains a quotation mark followed by a space, the resulting command line will contain multiple tokens instead of one. This issue was patched in version 9.4.52, 10.0.16, 11.0.16 and 12.0.0-beta2.

Publish Date: 2023-09-15

URL: CVE-2023-36479

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 3 Score Details (4.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j

Release Date: 2023-09-15

Fix Resolution: org.eclipse.jetty:jetty-servlets:9.4.52.v20230823,10.0.16,11.0.16

SMadani commented 6 months ago

Nothing to do as this is for tests only.