Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 23, 2025

This PR contains the following updates:

Package Change Age Confidence
io.undertow:undertow-core (source) 2.2.19.Final -> 2.2.38.Final age confidence

GitHub Vulnerability Alerts

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

CVE-2025-9784

A flaw was found in Undertow where malformed client requests can trigger server-side stream resets without triggering abuse counters. This issue, referred to as the "MadeYouReset" attack, allows malicious clients to induce excessive server workload by repeatedly causing server-side stream aborts. While not a protocol bug, this highlights a common implementation weakness that can be exploited to cause a denial of service (DoS).


Release Notes

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

v2.2.38.Final

Compare Source

Release 2.2.38.Final fixes CVE-2024-4109, CVE-2025-9784
Full list of issues: view in Jira

    Release Notes - Undertow - Version 2.2.38.Final
        

Sub-task

  • [UNDERTOW-2499] - Review anonymous classes in Undertow io.undertow.websockets.jsr.test.annotated
  • [UNDERTOW-2501] - Review anonymous classes in Undertow io.undertow.websockets.jsr.test.dynamicupgrade
  • [UNDERTOW-2503] - Review anonymous classes in Undertow io.undertow.websockets.jsr.test.reconnect
  • [UNDERTOW-2504] - Review anonymous classes in Undertow io.undertow.websockets.jsr.test.security
  • [UNDERTOW-2505] - Review anonymous classes in Undertow io.undertow.websockets.jsr.test.suspendresume
  • [UNDERTOW-2506] - Review anonymous classes in Undertow io.undertow.websockets.jsr.test.stress
  • [UNDERTOW-2518] - WebSocketTimeoutTestCase can fail on CI
  • [UNDERTOW-2574] - BufferLeak on AbstractFramedChannel.allocateReferenceCountedBuffer
  • [UNDERTOW-2585] - WebSocketStressTestCase runs indefinitely in 2.2.x CI

Bug

  • [UNDERTOW-2235] - Properly handle non servlet methods dispatched as error into container
  • [UNDERTOW-2340] - RequestEncodingHandler does not update Content-Length after uncompressing
  • [UNDERTOW-2361] - Deflate request body support (content-encoding in request) does not work as expected
  • [UNDERTOW-2509] - Unable to set correct HTTP response code when a file upload is too large.
  • [UNDERTOW-2511] - CVE-2024-4109 undertow: information leakage via HTTP/2 request header reuse
  • [UNDERTOW-2520] - Web socket codes for protocol error and wrong code are swapped
  • [UNDERTOW-2532] - Websocket Session NPE
  • [UNDERTOW-2538] - The Servlet ServletRelativePathAttribute has the same priority as the Core RelativePathAttribute
  • [UNDERTOW-2547] - Perform gathering write in HttpRequestConduit to decrease latency
  • [UNDERTOW-2555] - AJP Redirect with unescaped characters in URL is not encoded
  • [UNDERTOW-2565] - HTTP2 sets exchange.queryString unencoded with allow unescaped characters in URL
  • [UNDERTOW-2566] - HttpRequestParser.handleQueryParameters can set an encoded query string
  • [UNDERTOW-2567] - Decoding of query strings with unescaped characters does not work in HTTP2 upgrade
  • [UNDERTOW-2573] - MultiParseParserDefinition can overwrite entity size in exchange request
  • [UNDERTOW-2576] - ProxyHandler can throw NullPointerException if the source address SocketAddress has no ip address
  • [UNDERTOW-2597] - MultiPartParserDefinition must check for entity size larger than zero
  • [UNDERTOW-2598] - CVE-2025-9784 MadeYouReset HTTP/2 DDoS Vulnerability
  • [UNDERTOW-2604] - 2.3.19 regression w/ Java&#​39;s HTTP client
  • [UNDERTOW-2608] - Undertow Servlet 2.3.19 fails SecurityManager checks

Task

Component Upgrade

Enhancement

  • [UNDERTOW-2371] - initialize the DefaultServer once to speed up test HttpContinueSslServletTestCase #​1574
  • [UNDERTOW-2522] - Investigate misleading build failures
  • [UNDERTOW-2556] - Make sure max-post-size check for a request with a content-length is done before any response is sent from the server
  • [UNDERTOW-2562] - AccessLogFileWithUnescapedCharactersTestCase does not clear UndertowOptions
  • [UNDERTOW-2563] - DefaultServer used for tests should apply server options to all openListeners
  • [UNDERTOW-2564] - Validate the signature of @​BeforeServerStarts and @​AfterServerStops methods
  • [UNDERTOW-2607] - Syntax error in CONTRIBUTING.md file

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


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 added the renovate label Jan 23, 2025
@socket-security
Copy link

socket-security bot commented Jan 23, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmaven/​io.undertow/​undertow-core@​2.2.19.Final ⏵ 2.2.38.Final3686 +6190 +2100100

View full report

@renovate renovate bot force-pushed the renovate/undertow.io.version branch from 3ef351c to 0595596 Compare February 24, 2025 18:06
@renovate renovate bot changed the title fix(deps): update dependency io.undertow:undertow-core to v2.3.14.final [security] fix(deps): update dependency io.undertow:undertow-core to v2.2.36.final [security] Feb 24, 2025
@renovate renovate bot force-pushed the renovate/undertow.io.version branch from 0595596 to e7e3e8e Compare October 29, 2025 22:35
@renovate renovate bot changed the title fix(deps): update dependency io.undertow:undertow-core to v2.2.36.final [security] fix(deps): update dependency io.undertow:undertow-core to v2.2.38.final [security] Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant