CyberRota Analysis
AI-GeneratedApache HttpComponents Client versions 5.4 and newer are vulnerable due to improper TLS hostname verification, particularly when using the async version of HttpClient. This flaw allows an attacker to intercept and alter traffic, potentially impersonating the server with a valid certificate for a different domain. Organizations utilizing the affected versions should prioritize upgrading to at least version 5.6.4 to mitigate this risk.
Original NVD Description
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.