Intel

AIKIDO-2026-987609

async-http-client is vulnerable to Cleartext Transmission of Sensitive Information

Cleartext Transmission of Sensitive InformationGHSA-v9f2-7rw2-gr2x Published Yesterday

75

High Risk

This Affects:

JAVAasync-http-client
2.0.0 - 2.16.0
Fixed in 2.16.1
3.0.0 - 3.0.11
Fixed in 3.0.12
Are you affected? Scan for Free

TL;DR

The client marks a proxy CONNECT tunnel as established solely because the last request it built was a CONNECT, and keeps that mark even after the proxy rejects that CONNECT with a non-2xx status. The 401 and redirect handlers then rebuild the next request as the origin request and write it, including the origin's credentials, onto that still plaintext socket to the proxy. A 401 challenge, a 302 redirect, or an NTLM handshake run over the connection each let the proxy or a party on the path recover Basic credentials directly or capture an NTLM response that can be cracked offline. The fix records that a tunnel was actually established before using the connection as a tunnel, stops passing CONNECT responses to the origin rebuilding handlers, and closes rather than pools a connection whose CONNECT was refused.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you route requests through an HTTP proxy using a CONNECT tunnel.

Background info

async-http-client is vulnerable to Cleartext Transmission of Sensitive Information in versions 2.0.0 - 2.16.0 and 3.0.0 - 3.0.11.

How to fix this

Upgrade the async-http-client library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform