Description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.12 and 2.16.1, Realm.Builder generates the HTTP Digest client nonce with ThreadLocalRandom rather than a cryptographically secure random source. Digest relies on an unpredictable cnonce to resist chosen-plaintext and credential precomputation attacks, so an observer able to infer generator state can reduce the protection of the authentication exchange. This issue is fixed in versions 3.0.12 and 2.16.1.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
AsyncHttpClient async-http-client
>= 3.0.0, < 3.0.12affected>= 2.0.0, < 2.16.1affected
References
- https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-mfj3-87qq-382v ↗
- https://github.com/AsyncHttpClient/async-http-client/commit/dca2d90db87f0144ea893a6858dca13c426d06b6 ↗
- https://github.com/AsyncHttpClient/async-http-client/commit/e1f5fc88fe211d3f64032c33b91093ba3d5e793d ↗
- 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.12 ↗