Update dependency org.asynchttpclient:async-http-client to v2.15.0 [SECURITY] (master)#706
Draft
renovatebot-confluentinc[bot] wants to merge 1 commit into
Draft
Conversation
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.
For any questions/concerns about this PR, please review the Renovate Bot wiki/FAQs, or the #renovatebot Slack channel.
This PR contains the following updates:
2.14.5→2.15.0async-http-client: Cookie header not stripped on cross-origin redirect
CVE-2026-45300 / GHSA-fmxf-pm6p-7xgm
More information
Details
Summary
async-http-client leaks
Cookieheaders to cross-origin redirect targets. When following a redirect across a security boundary (different origin, or HTTPS→HTTP downgrade), thepropagatedHeaders()method inRedirect30xInterceptor.javastripsAuthorizationandProxy-Authorizationheaders but does not stripCookie, so session cookies and other sensitive cookie values are forwarded to the redirect target — which may be attacker-controlled.Details
The vulnerability is in
client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java.The caller computes
stripAuthon each redirect:stripAuthistruewhenever the redirect crosses an origin, downgrades the scheme, or the caller opted in viaAsyncHttpClientConfig#isStripAuthorizationOnRedirect().In the vulnerable version,
propagatedHeaders()only removesAuthorizationandProxy-Authorizationin that branch —Cookieis left untouched:The companion test class
RedirectCredentialSecurityTestcoversAuthorization/Proxy-Authorizationstripping on cross-origin redirects and scheme downgrades, but has no coverage forCookie, which is why the regression went unnoticed.Proof of concept
Impact
Realistic attack paths:
Fix
Add
COOKIEto the headers removed alongsideAUTHORIZATION/PROXY_AUTHORIZATIONon the security-boundary branch:Note that the URI-scoped
CookieStorewill re-add any cookies that legitimately match the new target afterpropagatedHeadersreturns, so legitimate cross-origin sessions tracked by the client are not broken.Fixed in 3.0.10 and 2.15.0 by commit
3b0e3e9e.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate.