Skip to content

WARNING: MAJOR (BREAKING) CHANGE: Update dependency org.asynchttpclient:async-http-client to v3 [SECURITY] (master)#543

Open
renovatebot-confluentinc[bot] wants to merge 1 commit intomasterfrom
renovate/master-major-asynchttpclient.version
Open

WARNING: MAJOR (BREAKING) CHANGE: Update dependency org.asynchttpclient:async-http-client to v3 [SECURITY] (master)#543
renovatebot-confluentinc[bot] wants to merge 1 commit intomasterfrom
renovate/master-major-asynchttpclient.version

Conversation

@renovatebot-confluentinc
Copy link
Copy Markdown
Contributor

@renovatebot-confluentinc renovatebot-confluentinc bot commented Jan 31, 2025

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:

Package Change Age Adoption Passing Confidence
org.asynchttpclient:async-http-client 2.12.43.0.9 age adoption passing confidence

AsyncHttpClient leaks authorization credentialsto untrusted domains on cross-origin redirects

CVE-2026-40490 / GHSA-cmxv-58fp-fm3g

More information

Details

Impact

When redirect following is enabled (followRedirect(true)), AsyncHttpClient forwards Authorization and Proxy-Authorization headers along with Realm credentials to arbitrary redirect targets regardless of domain, scheme, or port changes. This leaks credentials on cross-domain redirects and HTTPS-to-HTTP downgrades.

Additionally, even when stripAuthorizationOnRedirect is set to true, the Realm object containing plaintext credentials is still propagated to the redirect request, causing credential re-generation for Basic and Digest authentication schemes via NettyRequestFactory.

An attacker who controls a redirect target (via open redirect, DNS rebinding, or MITM on HTTP) can capture Bearer tokens, Basic auth credentials, or any other Authorization header value.

Patches

Fixed in version 3.0.9. Users should upgrade immediately.

The fix automatically strips Authorization and Proxy-Authorization headers and clears Realm credentials whenever a redirect crosses origin boundaries (different scheme, host, or port) or downgrades from HTTPS to HTTP.

Workarounds

For users unable to upgrade, set (stripAuthorizationOnRedirect(true)) in the client config and avoid using Realm-based authentication with redirect following enabled. Note that (stripAuthorizationOnRedirect(true)) alone is insufficient on versions prior to 3.0.9 because the Realm bypass still re-generates credentials.

Alternatively, disable redirect following (followRedirect(false)) and handle redirects manually with origin validation.

Severity

  • CVSS Score: 6.8 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


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 has been generated by Renovate Bot.

@service-bot-app service-bot-app bot marked this pull request as ready for review January 31, 2025 06:14
@service-bot-app service-bot-app bot requested review from a team as code owners January 31, 2025 06:15
@renovatebot-confluentinc renovatebot-confluentinc bot changed the title Update dependency org.asynchttpclient:async-http-client to v3 (master) WARNING: MAJOR (BREAKING) CHANGE: Update dependency org.asynchttpclient:async-http-client to v3 (master) Jun 14, 2025
@renovatebot-confluentinc renovatebot-confluentinc bot changed the title WARNING: MAJOR (BREAKING) CHANGE: Update dependency org.asynchttpclient:async-http-client to v3 (master) WARNING: MAJOR (BREAKING) CHANGE: Update dependency org.asynchttpclient:async-http-client to v3 [SECURITY] (master) Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants