Skip to content

[UNDERTOW-2605 / 2582 / 2534 / 2609 / 2377 / 2656 / 2674 / 2668] CVE-2024-3884 CVE-2024-4027 CVE-2025-12543 Backport fixes to branch 2.2.x#1882

Merged
fl4via merged 18 commits into
undertow-io:2.2.xfrom
fl4via:backport-fixes_2.2.x
Jan 29, 2026
Merged

[UNDERTOW-2605 / 2582 / 2534 / 2609 / 2377 / 2656 / 2674 / 2668] CVE-2024-3884 CVE-2024-4027 CVE-2025-12543 Backport fixes to branch 2.2.x#1882
fl4via merged 18 commits into
undertow-io:2.2.xfrom
fl4via:backport-fixes_2.2.x

Conversation

@fl4via

@fl4via fl4via commented Jan 28, 2026

Copy link
Copy Markdown
Member

aogburn and others added 7 commits January 12, 2026 05:30
Signed-off-by: Flavia Rainone <frainone@redhat.com>
…dler before invoking the message handler

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…eaking to the XnioWorker when this thread is created

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…on decoded query string, and replace all internal usage of this method by the new method, getDecodedQueryString()

Signed-off-by: Flavia Rainone <frainone@redhat.com>
… more sense in the nomenclature of query strings:

* the method getQueryString() is the new standard for getting the
  original, unencoded, query string.
* the method getNonDecodedQueryString is marked for removal in future
  release
* the method setNonDecodedQueryStirng is replaced by
  setUnencodedQueryString and marked for removal as well
* ProxyHandler uses getQueryString instead of getNonDecodedQueryString

Signed-off-by: Flavia Rainone <frainone@redhat.com>
@fl4via fl4via added waiting CI check Ready to be merged but waiting for CI check backport The PR is the result of backporting another PR to a maintainance branch labels Jan 28, 2026
@fl4via fl4via changed the base branch from main to 2.2.x January 28, 2026 08:18
@fl4via fl4via force-pushed the backport-fixes_2.2.x branch from 8609636 to 3ad055f Compare January 28, 2026 09:01
@fl4via fl4via changed the title [UNDERTOW-2653 / 2605 / 2582 / 2534 / 2609 / 2377 / 2656 / 2674 / 2668] CVE-2024-3884 CVE-2024-4027 CVE-2025-12543 Backport fixes to branch 2.3.xBackport fixes 2.2.x [UNDERTOW-2653 / 2605 / 2582 / 2534 / 2609 / 2377 / 2656 / 2674 / 2668] CVE-2024-3884 CVE-2024-4027 CVE-2025-12543 Backport fixes to branch 2.2.x Jan 28, 2026
fl4via and others added 11 commits January 28, 2026 09:06
… HttpServerExchange. The nomenclature queryString refers always to unencoded query, whereas decodedQueryString is the decoded counterpart.

Notice that this makes the invocation of setQueryString mandatory while parsing requests, while setDecodedQueryString is optional and can be used only when decoding of the query is performed.

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…ery string in its entire form instead of the beginning, apply this to AjpParsingUnitTestCase (although the original form of the query string in this case is unreadable)

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…/entity size

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…rlyCloseClientSideTestCase. Also: enable the test for all protocol scenarios.

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…TIPART_MAX_ENTITY_SIZE to -1

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…ase.

Also: [UNDERTOW-2572] enable the test for all protocols except HTTP2.

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…tCase and ReceiverTestCase

Signed-off-by: Flavia Rainone <frainone@redhat.com>
…in request. Fix NetworkUtils regex patterns to have proper range and include embedded adr

Signed-off-by: Flavia Rainone <frainone@redhat.com>
Signed-off-by: Flavia Rainone <frainone@redhat.com>
…PROTOCOL_ERRORS in WebSocketChannel instead of WRONG_CODE

Signed-off-by: Flavia Rainone <frainone@redhat.com>
… return absolute path

Signed-off-by: Flavia Rainone <frainone@redhat.com>
@fl4via fl4via force-pushed the backport-fixes_2.2.x branch from 3ad055f to 2947b7c Compare January 28, 2026 13:16
@fl4via fl4via changed the title [UNDERTOW-2653 / 2605 / 2582 / 2534 / 2609 / 2377 / 2656 / 2674 / 2668] CVE-2024-3884 CVE-2024-4027 CVE-2025-12543 Backport fixes to branch 2.2.x [UNDERTOW-2605 / 2582 / 2534 / 2609 / 2377 / 2656 / 2674 / 2668] CVE-2024-3884 CVE-2024-4027 CVE-2025-12543 Backport fixes to branch 2.2.x Jan 29, 2026
@fl4via fl4via removed the waiting CI check Ready to be merged but waiting for CI check label Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport The PR is the result of backporting another PR to a maintainance branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants