Description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. In versions from 2.0.0 prior to 2.16.0 and from 3.0.0.Beta1 prior to 3.0.11, ThreadSafeCookieStore stored a cookie under the value of its Domain attribute without verifying that the responding host is allowed to set a cookie for that domain, leading to a cookie tossing / cookie injection issue. A host the client connects to can therefore plant a cookie scoped to an unrelated domain, and the client will then send that cookie on later requests to that domain. Applications that use a single AsyncHttpClient instance - and thus the default, shared CookieStore - to reach both an attacker-influenced host and a trusted host are impacted. This issue has been fixed in versions 2.16.0 and 3.0.11.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AsyncHttpClient | async-http-client | >= 2.0.0, < 2.16.0, >= 3.0.0.Beta1, < 3.0.11 | — |
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 | 2.12.3-1+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | async-http-client | No fix yet | — |
| Ubuntu 26.04 LTS | async-http-client | 2.12.3-1ubuntu1.1 | USN-8655-1 |
| Ubuntu 25.10 | async-http-client | No fix yet | — |
| Ubuntu 24.04 LTS | async-http-client | 2.12.3-1ubuntu0.24.04.1 | USN-8655-1 |
| Ubuntu 22.04 LTS | async-http-client | 2.12.3-1ubuntu0.22.04.1 | USN-8655-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | async-http-client | No fix yet | — |
| Ubuntu 16.04 LTS | async-http-client | No fix yet | — |
| Ubuntu Pro 20.04 LTS | async-http-client | 2.6.0-1ubuntu0.1~esm1 | USN-8655-1 |
| Ubuntu Pro 14.04 LTS | async-http-client | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | apache-pulsar-4.2 | 4.2.4-r3 | — |
| Wolfi rolling | druid | 37.0.0-r55 | — |
| Wolfi rolling | tez | 0.10.5-r29 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.asynchttpclient:async-http-client | >= 3.0.0.Beta1, < 3.0.11 | 3.0.11 | GHSA-m452-q8c9-rg2f |
| Maven | org.asynchttpclient:async-http-client | >= 2.0.0, < 2.16.0 | 2.16.0 | GHSA-m452-q8c9-rg2f |
Advisories 1
- USN-8655-1 async-http-client vulnerability Ubuntu Security Notices (USN) · Aug 26, 2026