Skip to content

javalin-5.6.0.jar: 5 vulnerabilities (highest severity is: 7.5) #1

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - javalin-5.6.0.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Found in HEAD commit: f375bab7fe9b743a191e3d644f6ad5ee79c1c1b9

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (javalin version) Remediation Possible**
CVE-2023-36478 High 7.5 jetty-http-11.0.15.jar Transitive 5.6.3
CVE-2024-8184 Medium 5.9 jetty-server-11.0.15.jar Transitive N/A*
CVE-2023-40167 Medium 5.3 jetty-http-11.0.15.jar Transitive 5.6.3
WS-2023-0236 Low 3.9 jetty-xml-11.0.15.jar Transitive 5.6.3
CVE-2024-6763 Low 3.7 detected in multiple dependencies 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-36478

Vulnerable Library - jetty-http-11.0.15.jar

Library home page: https://webtide.com

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Dependency Hierarchy:

  • javalin-5.6.0.jar (Root Library)
    • jetty-server-11.0.15.jar
      • jetty-http-11.0.15.jar (Vulnerable Library)

Found in HEAD commit: f375bab7fe9b743a191e3d644f6ad5ee79c1c1b9

Found in base branch: main

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

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:jetty-http): 11.0.16

Direct dependency fix Resolution (io.javalin:javalin): 5.6.3

Step up your Open Source Security Game with Mend here

CVE-2024-8184

Vulnerable Library - jetty-server-11.0.15.jar

The core jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Dependency Hierarchy:

  • javalin-5.6.0.jar (Root Library)
    • jetty-server-11.0.15.jar (Vulnerable Library)

Found in HEAD commit: f375bab7fe9b743a191e3d644f6ad5ee79c1c1b9

Found in base branch: main

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

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

Step up your Open Source Security Game with Mend here

CVE-2023-40167

Vulnerable Library - jetty-http-11.0.15.jar

Library home page: https://webtide.com

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Dependency Hierarchy:

  • javalin-5.6.0.jar (Root Library)
    • jetty-server-11.0.15.jar
      • jetty-http-11.0.15.jar (Vulnerable Library)

Found in HEAD commit: f375bab7fe9b743a191e3d644f6ad5ee79c1c1b9

Found in base branch: main

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

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): 11.0.16

Direct dependency fix Resolution (io.javalin:javalin): 5.6.3

Step up your Open Source Security Game with Mend here

WS-2023-0236

Vulnerable Library - jetty-xml-11.0.15.jar

The jetty xml utilities.

Library home page: https://webtide.com

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Dependency Hierarchy:

  • javalin-5.6.0.jar (Root Library)
    • jetty-webapp-11.0.15.jar
      • jetty-xml-11.0.15.jar (Vulnerable Library)

Found in HEAD commit: f375bab7fe9b743a191e3d644f6ad5ee79c1c1b9

Found in base branch: main

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

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): 11.0.16

Direct dependency fix Resolution (io.javalin:javalin): 5.6.3

Step up your Open Source Security Game with Mend here

CVE-2024-6763

Vulnerable Libraries - jetty-server-11.0.15.jar, jetty-http-11.0.15.jar

jetty-server-11.0.15.jar

The core jetty server artifact.

Library home page: https://webtide.com

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Dependency Hierarchy:

  • javalin-5.6.0.jar (Root Library)
    • jetty-server-11.0.15.jar (Vulnerable Library)

jetty-http-11.0.15.jar

Library home page: https://webtide.com

Path to dependency file: /pom.xml

Path to vulnerable library: /pom.xml

Dependency Hierarchy:

  • javalin-5.6.0.jar (Root Library)
    • jetty-server-11.0.15.jar
      • jetty-http-11.0.15.jar (Vulnerable Library)

Found in HEAD commit: f375bab7fe9b743a191e3d644f6ad5ee79c1c1b9

Found in base branch: main

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

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

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions