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, Realm.Builder treats a Digest challenge that yields no usable nonce as a Basic challenge. A malicious origin or proxy can label a challenge Digest while omitting or emptying the nonce, causing the client to resend the username and password using reversible Basic authentication. Both origin and proxy challenge parsers are affected. 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.Beta1, < 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.Beta1, < 3.0.13 | 3.0.13 | GHSA-rqf5-2wxv-rjf4 |
| Maven | org.asynchttpclient:async-http-client | >= 2.0.0, < 2.16.1 | 2.16.1 | GHSA-rqf5-2wxv-rjf4 |
References
- https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-rqf5-2wxv-rjf4
- https://github.com/AsyncHttpClient/async-http-client/commit/8376866aa9b5a7653ad19db9d472692f875caa83
- https://github.com/AsyncHttpClient/async-http-client/commit/c8d639bf6ac341d377d610a93570bcd15565f1a6
- 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