[26.4] CVE-2026-45292: size-limiting baggage propagator wrapper#51097
Open
Pepo48 wants to merge 2 commits into
Open
[26.4] CVE-2026-45292: size-limiting baggage propagator wrapper#51097Pepo48 wants to merge 2 commits into
Pepo48 wants to merge 2 commits into
Conversation
Closes: keycloak#49570 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
* adapt baggage propagator wrapper for OTel 1.44.x Closes: keycloak#49570 Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.AuthenticatorSubflowsTest2#testSubflow2Keycloak CI - Forms IT (chrome) org.keycloak.testsuite.federation.ldap.LDAPGroupMapperTest#test13_registrationWithDefaultGroupsAndDeferredLdapCreationorg.keycloak.testsuite.federation.ldap.LDAPGroupMapperTest#test14_registrationWithDefaultGroupsAndImmediateLdapCreationorg.keycloak.testsuite.federation.ldap.noimport.LDAPGroupMapperNoImportTest#test13_registrationWithDefaultGroupsAndDeferredLdapCreationorg.keycloak.testsuite.federation.ldap.noimport.LDAPGroupMapperNoImportTest#test14_registrationWithDefaultGroupsAndImmediateLdapCreation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #49570
Cherry-picked from: 9bb7a95
Edit:
It needed to be adapted for OTel 1.44.x (Quarkus 3.27) that is used in 26.4. It uses
getter.get()instead ofgetAll(), which is not available in that OTel version. This provides equivalent protection because OTel 1.44.x'sW3CBaggagePropagatoritself only reads a single header viaget()(multi-header support was added in OTel 1.45.0). See the changes in the separate commit.