Skip to content
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

app-api-1.1.6-SNAPSHOT.jar: 7 vulnerabilities (highest severity is: 7.5) unreachable #7

Open
mend-for-github-com bot opened this issue Aug 7, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Aug 7, 2024

Vulnerable Library - app-api-1.1.6-SNAPSHOT.jar

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-server/9.4.48.v20220622/jetty-server-9.4.48.v20220622.jar

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (app-api version) Remediation Possible** Reachability
CVE-2023-36478 High 7.5 Not Defined 0.5% jetty-http-9.4.48.v20220622.jar Transitive N/A*

Unreachable

CVE-2024-8184 Medium 5.9 Not Defined 0.1% jetty-server-9.4.48.v20220622.jar Transitive N/A*

Unreachable

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

Unreachable

CVE-2023-26048 Medium 5.3 Not Defined 0.3% jetty-server-9.4.48.v20220622.jar Transitive N/A*

Unreachable

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

Unreachable

CVE-2024-6763 Low 3.7 Not Defined 0.1% detected in multiple dependencies Transitive N/A*

Unreachable

CVE-2023-26049 Low 2.4 Not Defined 0.2% detected in multiple dependencies 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-2023-36478

Vulnerable Library - jetty-http-9.4.48.v20220622.jar

Library home page: https://webtide.com

Path to dependency file: /report/duct/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-http/9.4.48.v20220622/jetty-http-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar
          • jetty-http-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

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.5%

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-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-2024-8184

Vulnerable Library - jetty-server-9.4.48.v20220622.jar

The core jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /example/app-web-ui/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-server/9.4.48.v20220622/jetty-server-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

There exists a security vulnerability in Jetty's ThreadLimitHandler.getRemote() which can be exploited by unauthorized users to cause remote denial-of-service (DoS) attack. By repeatedly sending crafted requests, attackers can trigger OutofMemory errors and exhaust the server's memory.

Publish Date: 2024-10-14

URL: CVE-2024-8184

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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: GHSA-g8m5-722r-8whq

Release Date: 2024-10-14

Fix Resolution: org.eclipse.jetty:jetty-server:9.4.56,10.0.24,11.0.24,12.0.9, org.eclipse.jetty.ee9:jetty-ee9-nested:9.4.56,10.0.24,11.0.24,12.0.9

CVE-2023-40167

Vulnerable Library - jetty-http-9.4.48.v20220622.jar

Library home page: https://webtide.com

Path to dependency file: /report/duct/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-http/9.4.48.v20220622/jetty-http-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar
          • jetty-http-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

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

Vulnerable Library - jetty-server-9.4.48.v20220622.jar

The core jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /example/app-web-ui/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-server/9.4.48.v20220622/jetty-server-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

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.3%

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: 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.48.v20220622.jar

The jetty xml utilities.

Library home page: https://webtide.com

Path to dependency file: /example/app-model/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-xml/9.4.48.v20220622/jetty-xml-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-webapp-9.4.48.v20220622.jar
          • jetty-xml-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

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: 2024-12-02

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: GHSA-58qw-p7qm-5rvh

Release Date: 2024-12-02

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

CVE-2024-6763

Vulnerable Libraries - jetty-server-9.4.48.v20220622.jar, jetty-http-9.4.48.v20220622.jar

jetty-server-9.4.48.v20220622.jar

The core jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /example/app-web-ui/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-server/9.4.48.v20220622/jetty-server-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar (Vulnerable Library)

jetty-http-9.4.48.v20220622.jar

Library home page: https://webtide.com

Path to dependency file: /report/duct/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-http/9.4.48.v20220622/jetty-http-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar
          • jetty-http-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

Eclipse Jetty is a lightweight, highly scalable, Java-based web server and Servlet engine . It includes a utility class, HttpURI, for URI/URL parsing. The HttpURI class does insufficient validation on the authority segment of a URI. However the behaviour of HttpURI differs from the common browsers in how it handles a URI that would be considered invalid if fully validated against the RRC. Specifically HttpURI and the browser may differ on the value of the host extracted from an invalid URI and thus a combination of Jetty and a vulnerable browser may be vulnerable to a open redirect attack or to a SSRF attack if the URI is used after passing validation checks.

Publish Date: 2024-10-14

URL: CVE-2024-6763

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (3.7)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-qh8g-58pp-2wxh

Release Date: 2024-10-14

Fix Resolution: org.eclipse.jetty:jetty-http:12.0.12;org.eclipse.jetty:jetty-server:12.0.12

CVE-2023-26049

Vulnerable Libraries - jetty-http-9.4.48.v20220622.jar, jetty-server-9.4.48.v20220622.jar

jetty-http-9.4.48.v20220622.jar

Library home page: https://webtide.com

Path to dependency file: /report/duct/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-http/9.4.48.v20220622/jetty-http-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar
          • jetty-http-9.4.48.v20220622.jar (Vulnerable Library)

jetty-server-9.4.48.v20220622.jar

The core jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /example/app-web-ui/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/eclipse/jetty/jetty-server/9.4.48.v20220622/jetty-server-9.4.48.v20220622.jar

Dependency Hierarchy:

  • app-api-1.1.6-SNAPSHOT.jar (Root Library)
    • app-framework-1.1.6-SNAPSHOT.jar
      • spark-core-2.9.4.jar
        • jetty-server-9.4.48.v20220622.jar (Vulnerable Library)

Found in HEAD commit: 1d1619bc4a4bd8a08cadf806a20f497a501d5d59

Found in base branch: main

Reachability Analysis

The vulnerable code is unreachable

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.2%

CVSS 3 Score Details (2.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: Required
    • 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: 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

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Aug 7, 2024
@mend-for-github-com mend-for-github-com bot changed the title app-api-1.1.6-SNAPSHOT.jar: 5 vulnerabilities (highest severity is: 7.5) unreachable app-api-1.1.6-SNAPSHOT.jar: 7 vulnerabilities (highest severity is: 7.5) unreachable Oct 15, 2024
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