From 5a6bb27f0099a2ddd66cbded5f84af00068ac51e Mon Sep 17 00:00:00 2001 From: karanh37 Date: Mon, 31 Aug 2026 10:36:21 +0530 Subject: [PATCH] fix(security): bump httpclient5 to 5.6.4 Closes CVE-2026-71290 (CWE-295, Improper Certificate Validation; critical, CVSS 9.1). In httpclient5 5.6.3 and earlier, HostnameVerificationPolicy#BUILTIN has no effect on the async TLS upgrade path, so SSL parameters are not applied and a MITM attacker can impersonate a server with a certificate valid for a different domain. Fixed in 5.6.4. httpclient5 5.6.4 declares httpcore5 5.4.3, identical to 5.6.3, so the client/core pairing pinned above (httpcore5 5.4.3) is preserved and the SingleCoreIOReactor lease-leak failure mode is not reintroduced. Still within the 5.6 line, so the disableContentCompression() requirement on the OpenSearch/Elasticsearch transports is unchanged. Root pom dependencyManagement is the sole authority for this pin. Mirrors open-metadata/openmetadata-collate#6277. Co-Authored-By: Claude Opus 4.8 (1M context) --- pom.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 5eb1241840c5..5040e2ad45f1 100644 --- a/pom.xml +++ b/pom.xml @@ -832,12 +832,14 @@ Keep this in step with the httpcore5 pin above - Apache releases the two together and mixing lines breaks search. httpclient5 5.5/5.5.2 are built against httpcore5 5.3.x; on 5.4.x their I/O reactor dispatchers die silently, leaking connection-pool - leases until every request fails with DeadlineTimeoutException. 5.6.3 declares - httpcore5 5.4.3, so client and core match. + leases until every request fails with DeadlineTimeoutException. 5.6.4 declares + httpcore5 5.4.3 (identical to 5.6.3), so client and core match. - 5.6.3 is also the first release outside the CVE-2026-64607 range (affects + 5.6.3 was the first release outside the CVE-2026-64607 range (affects 5.0-alpha1 through 5.6.2: the classic i/o client leaks a connection when a response - carries an invalid Content-Encoding). + carries an invalid Content-Encoding). 5.6.4 additionally closes CVE-2026-71290 + (improper certificate validation: HostnameVerificationPolicy#BUILTIN had no effect on + the async TLS upgrade path, so SSL parameters were not applied). The 5.6 line enables automatic content decompression in the async client, which the search transports also do - see disableContentCompression() in OpenSearchClient and @@ -846,7 +848,7 @@ org.apache.httpcomponents.client5 httpclient5 - 5.6.3 + 5.6.4 org.apache.commons