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

Update dependency io.undertow:undertow-core to v2.3.14.Final [SECURITY] #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 24, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.undertow:undertow-core (source) 2.0.27.Final -> 2.3.14.Final age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2021-20220

A flaw was found in Undertow. A regression in the fix for CVE-2020-10687 was found. HTTP request smuggling related to CVE-2017-2666 is possible against HTTP/1.x and HTTP/2 due to permitting invalid characters in an HTTP request. This flaw allows an attacker to poison a web-cache, perform an XSS attack, or obtain sensitive information from request other than their own. The highest threat from this vulnerability is to data confidentiality and integrity.

CVE-2020-27782

A flaw was found in the Undertow AJP connector. Malicious requests and abrupt connection closes could be triggered by an attacker using query strings with non-RFC compliant characters resulting in a denial of service. The highest threat from this vulnerability is to system availability. This affects Undertow 2.1.5.SP1, 2.0.33.SP2, and 2.2.3.SP1.

CVE-2021-3629

A flaw was found in Undertow. A potential security issue in flow control handling by the browser over HTTP/2 may potentially cause overhead or a denial of service in the server. The highest threat from this vulnerability is availability. This flaw affects Undertow versions prior to 2.0.40.Final and prior to 2.2.11.Final.

CVE-2021-3597

A flaw was found in undertow. The HTTP2SourceChannel fails to write the final frame under some circumstances, resulting in a denial of service. The highest threat from this vulnerability is availability. This flaw affects Undertow versions prior to 2.0.35.SP1, prior to 2.2.6.SP1, prior to 2.2.7.SP1, prior to 2.0.36.SP1, prior to 2.2.9.Final and prior to 2.0.39.Final.

CVE-2020-1757

A flaw was found in all undertow-2.x.x SP1 versions prior to undertow-2.0.30.SP1, all undertow-1.x.x and undertow-2.x.x versions prior to undertow-2.1.0.Final, where the Servlet container causes servletPath to normalize incorrectly by truncating the path after semicolon which may lead to an application mapping resulting in the security bypass.

CVE-2020-1745

A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.

CVE-2021-3690

Buffer leak on incoming WebSocket PONG message(s) in Undertow before 2.0.40 and 2.2.10 can lead to memory exhaustion and allow a denial of service.

CVE-2021-3859

Undertow client side invocation timeout raised when calling over HTTP2, this vulnerability can allow attacker to carry out denial of service (DoS) attacks in versions less than 2.2.15 Final.

CVE-2022-2053

When a POST request comes through AJP and the request exceeds the max-post-size limit (maxEntitySize), Undertow's AjpServerRequestConduit implementation closes a connection without sending any response to the client/proxy. This behavior results in that a front-end proxy marking the backend worker (application server) as an error state and not forward requests to the worker for a while. In mod_cluster, this continues until the next STATUS request (10 seconds intervals) from the application server updates the server state. So, in the worst case, it can result in "All workers are in error state" and mod_cluster responds "503 Service Unavailable" for a while (up to 10 seconds). In mod_proxy_balancer, it does not forward requests to the worker until the "retry" timeout passes. However, luckily, mod_proxy_balancer has "forcerecovery" setting (On by default; this parameter can force the immediate recovery of all workers without considering the retry parameter of the workers if all workers of a balancer are in error state.). So, unlike mod_cluster, mod_proxy_balancer does not result in responding "503 Service Unavailable". An attacker could use this behavior to send a malicious request and trigger server errors, resulting in DoS (denial of service). This flaw was fixed in Undertow 2.2.19.Final, Undertow 2.3.0.Alpha2.

CVE-2019-14888

A vulnerability was found in the Undertow HTTP server in versions before 2.0.29 when listening on HTTPS. An attacker can target the HTTPS port to carry out a Denial Of Service (DOS) to make the service unavailable on SSL.

CVE-2022-4492

The undertow client is not checking the server identity presented by the server certificate in https connections. This should be performed by default in https and in http/2.

CVE-2020-10687

A flaw was discovered in all versions of Undertow before Undertow 2.2.0.Final, where HTTP request smuggling related to CVE-2017-2666 is possible against HTTP/1.x and HTTP/2 due to permitting invalid characters in an HTTP request. This flaw allows an attacker to poison a web-cache, perform an XSS attack, or obtain sensitive information from request other than their own.

CVE-2020-10719

A flaw was found in Undertow in versions before 2.1.1.Final, regarding the processing of invalid HTTP requests with large chunk sizes. This flaw allows an attacker to take advantage of HTTP request smuggling.

CVE-2020-10705

A flaw was discovered in Undertow in versions before Undertow 2.1.1.Final where certain requests to the "Expect: 100-continue" header may cause an out of memory error. This flaw may potentially lead to a denial of service.

CVE-2023-1108

A flaw was found in undertow. This issue makes achieving a denial of service possible due to an unexpected handshake status updated in SslConduit, where the loop never terminates.

CVE-2024-1459

A path traversal vulnerability was found in Undertow. This issue may allow a remote attacker to append a specially-crafted sequence to an HTTP request for an application deployed to JBoss EAP, which may permit access to privileged or restricted files and directories.

CVE-2024-1635

A vulnerability was found in Undertow. This vulnerability impacts a server that supports the wildfly-http-client protocol. Whenever a malicious user opens and closes a connection with the HTTP port of the server and then closes the connection immediately, the server will end with both memory and open file limits exhausted at some point, depending on the amount of memory available.

At HTTP upgrade to remoting, the WriteTimeoutStreamSinkConduit leaks connections if RemotingConnection is closed by Remoting ServerConnectionOpenListener. Because the remoting connection originates in Undertow as part of the HTTP upgrade, there is an external layer to the remoting connection. This connection is unaware of the outermost layer when closing the connection during the connection opening procedure. Hence, the Undertow WriteTimeoutStreamSinkConduit is not notified of the closed connection in this scenario. Because WriteTimeoutStreamSinkConduit creates a timeout task, the whole dependency tree leaks via that task, which is added to XNIO WorkerThread. So, the workerThread points to the Undertow conduit, which contains the connections and causes the leak.

CVE-2024-5971

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.

CVE-2024-7885

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.

CVE-2024-6162

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.

CVE-2024-3653

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.

CVE-2023-1973

A flaw was found in Undertow package. Using the FormAuthenticationMechanism, a malicious user could trigger a Denial of Service by sending crafted requests, leading the server to an OutofMemory error, exhausting the server's memory.

CVE-2023-4639

A flaw was found in Undertow, which incorrectly parses cookies with certain value-delimiting characters in incoming requests. This issue could allow an attacker to construct a cookie value to exfiltrate HttpOnly cookie values or spoof arbitrary additional cookie values, leading to unauthorized data access or modification. The main threat from this flaw impacts data confidentiality and integrity.


Release Notes

undertow-io/undertow (io.undertow:undertow-core)

v2.3.14.Final

Compare Source

Includes CVES: CVE-2024-6162 CVE-2024-27316 CVE-2023-5685

    Release Notes - Undertow - Version 2.3.14.Final
    

Sub-task

  • [UNDERTOW-2400] - ResponseWriterTestCase fails because ServletinputStream is closed before read

Bug

  • [UNDERTOW-2332] - CachingResource mishandling with TTL =0 and FS exhaustion
  • [UNDERTOW-2334] - CVE-2024-6162 url-encoded request path information can be broken on ajp-listener
  • [UNDERTOW-2378] - Adjust properly session timeout also in case when custom auth mechanisms are used
  • [UNDERTOW-2383] - Canonicalized query string in redirect location can break included links
  • [UNDERTOW-2385] - Memory leak in ThreadLocalCache
  • [UNDERTOW-2389] - DefaultByteBufferPool leaks buffers for released threads
  • [UNDERTOW-2405] - CVE-2024-27316 HTTP-2: httpd: CONTINUATION frames DoS
  • [UNDERTOW-2407] - NullPointerException on DefaultByteBufferPool.close
  • [UNDERTOW-2409] - Adjust properly session timeout also in case when GET requests with custom auth mechanisms are used

Component Upgrade

Enhancement

  • [UNDERTOW-2408] - Make fields final in DefaultByteBufferPool when appliable

v2.3.13.Final

Compare Source

v2.3.12.Final

Compare Source

v2.3.11.Final

Compare Source

v2.3.10.Final

Compare Source

v2.3.9.Final

Compare Source

v2.3.8.Final

Compare Source

v2.3.7.Final

Compare Source

v2.3.6.Final

Compare Source

v2.3.5.Final

Compare Source

v2.3.4.Final

Compare Source

v2.3.3.Final

Compare Source

v2.3.2.Final

Compare Source

v2.3.1.Final

Compare Source

v2.3.0.Final

Compare Source

v2.2.37.Final

Compare Source

Undertow release 2.2.37.Final
Full list of Issues: see on Jira

    Release Notes - Undertow - Version 2.2.37.Final
                                                    

Bug

  • [UNDERTOW-2333] - Undertow read/write timeout should not apply to WebSockets or SSE
  • [UNDERTOW-2412] - Read stored json with default UTF-8 encoding
  • [UNDERTOW-2422] - Response Status Line protocol is hard-coded to "HTTP/1.1"
  • [UNDERTOW-2436] - Race condition for HttpServerExchange state allows missed FLAG_REQUEST_TERMINATED flag with async requests and subsequent connection stall
  • [UNDERTOW-2444] - H2 violation of protocol specification in RST_STREAM scenarios
  • [UNDERTOW-2445] - CI Build is broken: actions/upload-artifact v1 and v2 are deprecated
  • [UNDERTOW-2446] - HttpServletRequestImpl.getParts may throw exception after already loading parts
  • [UNDERTOW-2448] - Broken responses after UNDERTOW-2425
  • [UNDERTOW-2457] - Bytes may get lost across ProxyProtocolReadListener parsing invocations for v1

v2.2.36.Final

Compare Source

Includes CVES: CVE-2024-7885

    Release Notes - Undertow - Version 2.2.36.Final
                                                    

Bug

Enhancement

  • [UNDERTOW-2432] - Bump javadoc plugin to 3.3.0+ in maintenance branches

v2.2.35.Final: v.2.2.35.Final

Compare Source

Release Notes - Undertow - Version 2.2.35.Final

Bug

  • [UNDERTOW-2256] - Resource predicate presentation differs depending on how it is set up
  • [UNDERTOW-2312] - multibytes language in URL request to http/https are broken in EAP access log.
  • [UNDERTOW-2381] - Invalid/benevolent hpack decoding of huffman-encoded string literal with EOS symbol
  • [UNDERTOW-2424] - Undertow produces malformed Http/1.1 responses under heavy concurrent load
  • [UNDERTOW-2425] - io.undertow.servlet.spec.ServletPrintWriter.close() high CPU when encoding characters on previously errored writer

v2.2.34.Final

Compare Source

Includes CVES: CVE-2024-3653 CVE-2024-5971

    Release Notes - Undertow - Version 2.2.34.Final
                                                    

Bug

  • [UNDERTOW-2033] - secure predicate unreliable with HTTP/2
  • [UNDERTOW-2046] - ProxyHandler passes hostname not IP in X-Forwarded-For
  • [UNDERTOW-2343] - Zero-Byte Response and Empty Response Code on Page Refresh with Wildfly 30 and Firefox
  • [UNDERTOW-2382] - CVE-2024-3653 LearningPushHandler can lead to remote memory DoS attacks
  • [UNDERTOW-2397] - Handle Huffman encoding properly
  • [UNDERTOW-2413] - CVE-2024-5971 undertow: response write hangs in case of Java 17 TLSv1.3 NewSessionTicket
  • [UNDERTOW-2418] - Adjust properly session timeout also in case when FORM is combined with other mechanisms

Documentation

  • [UNDERTOW-2193] - UndertowOptions class doesn&#​39;t specify what many size settings represent

Enhancement

v2.2.33.Final

Compare Source

Includes CVES: CVE-2024-6162 CVE-2024-27316 CVE-2023-5685

    Release Notes - Undertow - Version 2.2.33.Final
    

Sub-task

  • [UNDERTOW-2400] - ResponseWriterTestCase fails because ServletinputStream is closed before read

Bug

  • [UNDERTOW-2332] - CachingResource mishandling with TTL =0 and FS exhaustion
  • [UNDERTOW-2334] - CVE-2024-6162 url-encoded request path information can be broken on ajp-listener
  • [UNDERTOW-2378] - Adjust properly session timeout also in case when custom auth mechanisms are used
  • [UNDERTOW-2383] - Canonicalized query string in redirect location can break included links
  • [UNDERTOW-2385] - Memory leak in ThreadLocalCache
  • [UNDERTOW-2389] - DefaultByteBufferPool leaks buffers for released threads
  • [UNDERTOW-2405] - CVE-2024-27316 HTTP-2: httpd: CONTINUATION frames DoS
  • [UNDERTOW-2407] - NullPointerException on DefaultByteBufferPool.close
  • [UNDERTOW-2409] - Adjust properly session timeout also in case when GET requests with custom auth mechanisms are used

Component Upgrade

Enhancement

v2.2.32.Final

Compare Source

v2.2.31.Final

Compare Source

v2.2.30.Final

Compare Source

v2.2.29.Final

Compare Source

v2.2.28.Final

Compare Source

v2.2.27.Final

Compare Source

v2.2.26.Final

Compare Source

v2.2.25.Final

Compare Source

v2.2.24.Final

Compare Source

v2.2.23.Final

Compare Source

v2.2.22.Final

Compare Source

v2.2.21.Final

Compare Source

v2.2.20.Final

Compare Source

v2.2.19.Final

Compare Source

v2.2.18.Final

Compare Source

v2.2.17.Final

Compare Source

v2.2.16.Final

Compare Source

v2.2.15.Final

Compare Source

v2.2.14.Final

Compare Source

v2.2.13.Final

Compare Source

v2.2.12.Final

Compare Source

v2.2.11.Final

Compare Source

v2.2.10.Final

Compare Source

v2.2.9.Final

Compare Source

v2.2.8.Final

Compare Source

v2.2.7.Final

Compare Source

v2.2.6.Final

Compare Source

v2.2.5.Final

Compare Source

v2.2.4.Final

Compare Source

v2.2.3.Final

Compare Source

v2.2.2.Final

Compare Source

v2.2.1.Final

Compare Source

v2.2.0.Final

Compare Source

v2.1.8.Final

Compare Source

v2.1.7.Final

Compare Source

v2.1.6.Final

Compare Source

v2.1.5.Final

Compare Source

v2.1.4.Final

Compare Source

v2.1.3.Final

Compare Source

v2.1.2.Final

Compare Source

v2.1.1.Final

Compare Source

v2.1.0.Final

Compare Source

v2.0.42.Final

Compare Source

v2.0.41.Final

Compare Source

v2.0.40.Final

Compare Source

v2.0.39.Final

Compare Source

v2.0.38.Final

Compare Source

v2.0.37.Final

Compare Source

v2.0.36.Final

Compare Source

v2.0.35.Final

Compare Source

v2.0.34.Final

Compare Source

v2.0.33.Final

Compare Source

v2.0.32.Final

Compare Source

v2.0.31.Final

Compare Source

v2.0.30.Final

Compare Source

v2.0.29.Final

Compare Source

v2.0.28.Final

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/maven-io.undertow-undertow-core-vulnerability branch from f060faa to b3cd35f Compare May 29, 2023 23:42
@renovate renovate bot changed the title Update dependency io.undertow:undertow-core to v2.2.19.Final [SECURITY] Update dependency io.undertow:undertow-core to v2.2.24.Final [SECURITY] May 29, 2023
@renovate renovate bot force-pushed the renovate/maven-io.undertow-undertow-core-vulnerability branch from b3cd35f to 2e76790 Compare September 15, 2023 20:49
@renovate renovate bot changed the title Update dependency io.undertow:undertow-core to v2.2.24.Final [SECURITY] Update dependency io.undertow:undertow-core to v2.3.5.Final [SECURITY] Sep 15, 2023
@renovate renovate bot force-pushed the renovate/maven-io.undertow-undertow-core-vulnerability branch from 2e76790 to 60af9d7 Compare September 20, 2023 11:47
@renovate renovate bot changed the title Update dependency io.undertow:undertow-core to v2.3.5.Final [SECURITY] Update dependency io.undertow:undertow-core to v2.2.25.Final [SECURITY] Sep 20, 2023
@renovate renovate bot force-pushed the renovate/maven-io.undertow-undertow-core-vulnerability branch from 60af9d7 to eefa55f Compare September 22, 2023 05:37
@renovate renovate bot changed the title Update dependency io.undertow:undertow-core to v2.2.25.Final [SECURITY] Update dependency io.undertow:undertow-core to v2.2.24.Final [SECURITY] Sep 22, 2023
@renovate renovate bot force-pushed the renovate/maven-io.undertow-undertow-core-vulnerability branch from eefa55f to 9933e5e Compare April 16, 2024 05:50
@renovate renovate bot changed the title Update dependency io.undertow:undertow-core to v2.2.24.Final [SECURITY] Update dependency io.undertow:undertow-core to v2.2.31.Final [SECURITY] Apr 16, 2024
@renovate renovate bot force-pushed the renovate/maven-io.undertow-undertow-core-vulnerability branch from 9933e5e to 82554f7 Compare June 21, 2024 05:31
@renovate renovate bot changed the title Update dependency io.undertow:undertow-core to v2.2.31.Final [SECURITY] Update dependency io.undertow:undertow-core to v2.3.14.Final [SECURITY] Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants