async-http-client is vulnerable to Improper Authorization
75
CVE Score
High
Improper Authorization
AsyncHttpClient reuses pooled HTTP/1.1 connections keyed only by target URI, virtual host, and proxy host/port/type, as implemented in the channel pool offer and poll call sites across ChannelManager, AsyncHttpClientHandler, NettyRequestSender, and Redirect30xInterceptor. When an application configures NTLM, Kerberos, or SPNEGO authentication per request on a shared AsyncHttpClient instance, a socket that completed the authentication handshake for one principal is returned to the pool and can be handed to a later request carrying a different principal, which the remote server then executes under the first identity. Basic and Digest are unaffected because their credentials travel with each request rather than being bound to the connection. The fix wraps that HTTP/1.1 pool key with PrincipalScopedPartitionKey.scope at every offer and poll site, so a connection authenticated by one principal is not handed to another.
Upgrade the org.asynchttpclient:async-http-client library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and configure NTLM, Kerberos, or SPNEGO authentication per request on a shared client instance that pools HTTP/1.1 connections.
2.0.0 - 2.16.0
Fixed in 2.16.13.0.0 - 3.0.12
Fixed in 3.0.13async-http-client is vulnerable to Improper Authorization in versions 3.0.0 - 3.0.12 and 2.0.0 - 2.16.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.