Description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.13 and 2.16.1, ThreadSafeCookieStore validates Domain attributes with domain matching but does not reject public suffixes. A host beneath a suffix such as co.uk can set a cookie for that suffix, after which the shared cookie store sends it to unrelated hosts under the suffix. This can inject or overwrite session-relevant cookie values across origins. This issue is fixed in versions 3.0.13 and 2.16.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AsyncHttpClient | async-http-client | >= 3.0.0, < 3.0.13, >= 2.0.0, < 2.16.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | async-http-client | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | async-http-client | No fix yet | — |
| Ubuntu 26.04 LTS | async-http-client | No fix yet | — |
| Ubuntu 24.04 LTS | async-http-client | No fix yet | — |
| Ubuntu 22.04 LTS | async-http-client | No fix yet | — |
| Ubuntu 18.04 LTS | async-http-client | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | async-http-client | No fix yet | — |
| Ubuntu Pro 20.04 LTS | async-http-client | No fix yet | — |
| Ubuntu Pro 14.04 LTS | async-http-client | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | druid | 38.0.0-r4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.asynchttpclient:async-http-client | >= 3.0.0, < 3.0.13 | 3.0.13 | GHSA-f9m8-cv68-674w |
| Maven | org.asynchttpclient:async-http-client | >= 2.0.0, < 2.16.1 | 2.16.1 | GHSA-f9m8-cv68-674w |
References
- https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-f9m8-cv68-674w
- https://github.com/AsyncHttpClient/async-http-client/commit/330267895fe0bdb41bbd027ea6b151d38ee7c23d
- https://github.com/AsyncHttpClient/async-http-client/commit/d1f0ccec417092098d40242fee7dfac84bb3c21f
- https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-2.16.1
- https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.13