Apache Software Foundation Apache HttpComponents Client
Apache HttpComponents Client: TLS hostname verification silently disabled on the async transport (default config, MITM)
Improper TLS hostname verification vulnerability in Apache HttpComponents Client 5.4 or newer. HostnameVerificationPolicy#BUILTIN setting has no effect when used with the async version of HttpClient. An attacker that can intercept and modify traffic between the client and the server can impersonate the server by presenting a valid certificate for a different domain. Please note the classic version of HttpClient is not affected by this vulnerability. Affected users are recommended to upgrade to at least version 5.6.4, which fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.4-alpha, <= 5.6.3
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory lists.apache.org/thread/bhf7g2zwpom2ohvwjjjlonc93br2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.