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

spring-boot-starter-undertow-3.2.6.jar: 6 vulnerabilities (highest severity is: 7.5) reachable #6

Open
mend-for-github-com bot opened this issue Jun 9, 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 Jun 9, 2024

Vulnerable Library - spring-boot-starter-undertow-3.2.6.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.3.13.Final/undertow-core-2.3.13.Final.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-undertow version) Remediation Possible** Reachability
CVE-2024-7885 High 7.5 undertow-core-2.3.13.Final.jar Transitive 3.2.10

Reachable

CVE-2024-6162 High 7.5 undertow-core-2.3.13.Final.jar Transitive 3.2.10

Reachable

CVE-2024-5971 High 7.5 undertow-core-2.3.13.Final.jar Transitive 3.2.10

Reachable

CVE-2023-5685 High 7.5 xnio-api-3.8.8.Final.jar Transitive N/A*

Reachable

CVE-2024-3653 Medium 5.3 undertow-servlet-2.3.13.Final.jar Transitive 3.2.10

Reachable

CVE-2024-4109 High 7.5 undertow-core-2.3.13.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-2024-7885

Vulnerable Library - undertow-core-2.3.13.Final.jar

Library home page: http://www.jboss.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.3.13.Final/undertow-core-2.3.13.Final.jar

Dependency Hierarchy:

  • spring-boot-starter-undertow-3.2.6.jar (Root Library)
    • undertow-core-2.3.13.Final.jar (Vulnerable Library)

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.xxe.SimpleXXE (Application)
  -> io.undertow.servlet.spec.HttpServletRequestImpl (Extension)
   -> io.undertow.servlet.api.Deployment (Extension)
    -> io.undertow.server.handlers.proxy.ProxyHandler (Extension)
    ...
      -> org.xnio.XnioWorker (Extension)
       -> io.undertow.server.protocol.proxy.ProxyProtocolReadListener$AddressWrappedConnection (Extension)
        -> ❌ io.undertow.server.protocol.proxy.ProxyProtocolReadListener (Vulnerable Component)

Vulnerability Details

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. This issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. As a result, different requests may share the same StringBuilder instance, potentially leading to information leakage between requests or responses. In some cases, a value from a previous request or response may be erroneously reused, which could lead to unintended data exposure. This issue primarily results in errors and connection termination but creates a risk of data leakage in multi-request environments.

Publish Date: 2024-08-21

URL: CVE-2024-7885

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

Release Date: 2024-08-21

Fix Resolution (io.undertow:undertow-core): 2.3.17.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-undertow): 3.2.10

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-6162

Vulnerable Library - undertow-core-2.3.13.Final.jar

Library home page: http://www.jboss.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.3.13.Final/undertow-core-2.3.13.Final.jar

Dependency Hierarchy:

  • spring-boot-starter-undertow-3.2.6.jar (Root Library)
    • undertow-core-2.3.13.Final.jar (Vulnerable Library)

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.EnableWebSecurity (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension)
    -> io.undertow.Handlers (Extension)
    ...
      -> io.undertow.server.protocol.ajp.AjpServerConnection (Extension)
       -> io.undertow.server.protocol.ajp.AjpReadListener (Extension)
        -> ❌ io.undertow.server.protocol.ajp.AjpRequestParser (Vulnerable Component)

Vulnerability Details

A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.

Publish Date: 2024-06-20

URL: CVE-2024-6162

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://bugzilla.redhat.com/show_bug.cgi?id=2293069

Release Date: 2024-06-20

Fix Resolution (io.undertow:undertow-core): 2.3.15.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-undertow): 3.2.10

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-5971

Vulnerable Library - undertow-core-2.3.13.Final.jar

Library home page: http://www.jboss.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.3.13.Final/undertow-core-2.3.13.Final.jar

Dependency Hierarchy:

  • spring-boot-starter-undertow-3.2.6.jar (Root Library)
    • undertow-core-2.3.13.Final.jar (Vulnerable Library)

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.xxe.SimpleXXE (Application)
  -> io.undertow.servlet.spec.HttpServletRequestImpl (Extension)
   -> io.undertow.servlet.spec.AsyncContextImpl (Extension)
    -> io.undertow.client.UndertowClient (Extension)
    ...
      -> io.undertow.client.http.HttpClientConnection (Extension)
       -> io.undertow.server.protocol.http.HttpOpenListener (Extension)
        -> ❌ io.undertow.server.protocol.http.HttpOpenListener$1 (Vulnerable Component)

Vulnerability Details

A vulnerability was found in Undertow, where the chunked response hangs after the body was flushed. The response headers and body were sent but the client would continue waiting as Undertow does not send the expected 0\r\n termination of the chunked response. This results in uncontrolled resource consumption, leaving the server side to a denial of service attack. This happens only with Java 17 TLSv1.3 scenarios.

Publish Date: 2024-07-08

URL: CVE-2024-5971

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-xpp6-8r3j-ww43

Release Date: 2024-07-08

Fix Resolution (io.undertow:undertow-core): 2.3.15.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-undertow): 3.2.10

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-5685

Vulnerable Library - xnio-api-3.8.8.Final.jar

The API JAR of the XNIO project

Library home page: http://www.jboss.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jboss/xnio/xnio-api/3.8.8.Final/xnio-api-3.8.8.Final.jar

Dependency Hierarchy:

  • spring-boot-starter-undertow-3.2.6.jar (Root Library)
    • undertow-core-2.3.13.Final.jar
      • xnio-api-3.8.8.Final.jar (Vulnerable Library)

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.xxe.SimpleXXE (Application)
  -> io.undertow.servlet.spec.HttpServletRequestImpl (Extension)
   -> io.undertow.util.DateUtils (Extension)
    -> org.xnio.XnioIoThread (Extension)
     -> org.xnio.FailedIoFuture (Extension)
      -> ❌ org.xnio.AbstractIoFuture (Vulnerable Component)

Vulnerability Details

A flaw was found in XNIO. The XNIO NotifierState that can cause a Stack Overflow Exception when the chain of notifier states becomes problematically large can lead to uncontrolled resource management and a possible denial of service (DoS).

Publish Date: 2024-03-22

URL: CVE-2023-5685

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.

CVE-2024-3653

Vulnerable Library - undertow-servlet-2.3.13.Final.jar

Library home page: http://www.jboss.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-servlet/2.3.13.Final/undertow-servlet-2.3.13.Final.jar

Dependency Hierarchy:

  • spring-boot-starter-undertow-3.2.6.jar (Root Library)
    • undertow-servlet-2.3.13.Final.jar (Vulnerable Library)

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.xxe.SimpleXXE (Application)
  -> io.undertow.servlet.spec.HttpServletRequestImpl (Extension)
   -> io.undertow.servlet.api.Deployment (Extension)
    -> io.undertow.servlet.api.ServletContainer$Factory (Extension)
    ...
      -> io.undertow.servlet.core.DeploymentManagerImpl (Extension)
       -> io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler (Extension)
        -> ❌ io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler$SecurityNotificationReceiver (Vulnerable Component)

Vulnerability Details

A vulnerability was found in Undertow. This issue requires enabling the learning-push handler in the server's config, which is disabled by default, leaving the maxAge config in the handler unconfigured. The default is -1, which makes the handler vulnerable. If someone overwrites that config, the server is not subject to the attack. The attacker needs to be able to reach the server with a normal HTTP request.

Publish Date: 2024-07-08

URL: CVE-2024-3653

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-ch7q-gpff-h9hp

Release Date: 2024-07-08

Fix Resolution (io.undertow:undertow-servlet): 2.3.15.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-undertow): 3.2.10

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-4109

Vulnerable Library - undertow-core-2.3.13.Final.jar

Library home page: http://www.jboss.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/undertow/undertow-core/2.3.13.Final/undertow-core-2.3.13.Final.jar

Dependency Hierarchy:

  • spring-boot-starter-undertow-3.2.6.jar (Root Library)
    • undertow-core-2.3.13.Final.jar (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A flaw was found in Undertow. An HTTP request header value from a previous stream may be incorrectly reused for a request associated with a subsequent stream on the same HTTP/2 connection. This issue can potentially lead to information leakage between requests.

Publish Date: 2024-12-12

URL: CVE-2024-4109

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

For more information on CVSS3 Scores, click here.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 9, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-undertow-3.2.6.jar: 1 vulnerabilities (highest severity is: 7.5) reachable spring-boot-starter-undertow-3.2.6.jar: 2 vulnerabilities (highest severity is: 7.5) reachable Jun 25, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-undertow-3.2.6.jar: 2 vulnerabilities (highest severity is: 7.5) reachable spring-boot-starter-undertow-3.2.6.jar: 3 vulnerabilities (highest severity is: 7.5) reachable Jul 11, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-undertow-3.2.6.jar: 3 vulnerabilities (highest severity is: 7.5) reachable spring-boot-starter-undertow-3.2.6.jar: 4 vulnerabilities (highest severity is: 7.5) reachable Aug 14, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-undertow-3.2.6.jar: 4 vulnerabilities (highest severity is: 7.5) reachable spring-boot-starter-undertow-3.2.6.jar: 5 vulnerabilities (highest severity is: 7.5) reachable Aug 22, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-undertow-3.2.6.jar: 5 vulnerabilities (highest severity is: 7.5) reachable spring-boot-starter-undertow-3.2.6.jar: 6 vulnerabilities (highest severity is: 7.5) reachable Dec 25, 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