AsyncHttpClient async-http-client
AsyncHttpClient: Digest challenge without a usable nonce downgrades to Basic and sends the password in cleartext
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0.Beta1, < 3.0.13
- >= 2.0.0, < 2.16.1
Fixed in 3.0.13, 2.16.1
Mitigation
Upgrade async-http-client to 3.0.13 or 2.16.1 or later.
References
- Vendor advisory github.com/AsyncHttpClient/async-http-client/s…
- Patch github.com/AsyncHttpClient/async-http-client/c…
- Patch github.com/AsyncHttpClient/async-http-client/c…
2 more
- Release notes github.com/AsyncHttpClient/async-http-client/r…
- Release notes github.com/AsyncHttpClient/async-http-client/r…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.