AsyncHttpClient async-http-client
AsyncHttpClient: Origin credentials sent in cleartext to a proxy that rejects the CONNECT
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.12 on 3.x and 2.16.1 on 2.x, the client infers that an HTTP proxy tunnel exists from the last request method rather than the CONNECT result. After a proxy rejects CONNECT, redirect or authentication handlers can write an origin request and its Authorization credentials onto the still-plaintext proxy connection. Basic credentials can be recovered directly, while NTLM responses may be cracked or relayed. This issue is fixed in versions 3.0.12 and 2.16.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 3.0.12
- >= 2.0.0, < 2.16.1
Fixed in 3.0.12, 2.16.1
Mitigation
Upgrade async-http-client to 3.0.12 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.