Skip to content
OpenAdvisories
Medium · 5.9 CVE-2020-13955 EUVD-2021-0835GHSA-hxp5-8pgq-mgv9

Missing Authentication for Critical Function in Apache Calcite

Published Oct 9, 2020 · Updated Aug 4, 2024 · Assigned by apache

Description

HttpUtils#getURLConnection method disables explicitly hostname verification for HTTPS connections making clients vulnerable to man-in-the-middle attacks. Calcite uses internally this method to connect with Druid and Splunk so information leakage may happen when using the respective Calcite adapters. The method itself is in a utility class so people may use it to create vulnerable HTTPS connections for other applications. From Apache Calcite 1.26 onwards, the hostname verification will be performed using the default JVM truststore.

Affected products

VendorProductAffectedFixed
— Apache Calcite Apache Calcite 0.8 to 1.25 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.calcite:calcite-core < 1.26.0 1.26.0 GHSA-hxp5-8pgq-mgv9
Maven org.apache.calcite:calcite-druid < 1.26.0 1.26.0 GHSA-hxp5-8pgq-mgv9
Maven org.apache.calcite:calcite-splunk < 1.26.0 1.26.0 GHSA-hxp5-8pgq-mgv9

Advisories 1

References