Description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. From 3.0.8 until 3.0.12, processScramAuthenticationInfo and processAuthenticationInfo compute the SCRAM ServerSignature or Digest rspauth verification result but log a mismatch and still deliver the response as authenticated. On a non-TLS or compromised transport, a peer that has not proved knowledge of the shared secret can therefore be accepted as the server. The fix rejects a present invalid value and computes Digest rspauth from the Authorization parameters actually sent, but verification remains unenforced when the value is absent, the sent parameters cannot be recovered, or Digest uses qop=auth-int. This issue is fixed in version 3.0.12.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AsyncHttpClient | async-http-client | >= 3.0.8, < 3.0.12 | — |
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.
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 | 37.0.0-r58 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.asynchttpclient:async-http-client | >= 3.0.8, < 3.0.12 | 3.0.12 | GHSA-fj9w-c36g-h5x8 |
References
- https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-fj9w-c36g-h5x8
- https://github.com/AsyncHttpClient/async-http-client/pull/2235
- https://github.com/AsyncHttpClient/async-http-client/commit/10b3db9910f0bbad2ea3dc7c7553bae12bc4a5e4
- https://github.com/AsyncHttpClient/async-http-client/commit/685173afea07892462071d966ef6ce5c88cbc66f
- https://github.com/AsyncHttpClient/async-http-client/commit/7fe8700fd5b46c668cee7774624f36b87b9dd32a