ADVISORIES

GitHub Advisory Database

GHSA-hxp5-8pgq-mgv9

Missing Authentication for Critical Function in Apache Calcite

Moderate CVE-2020-13955

Details

"HttpUtils#getURLConnection method disables explicitly hostname verification for HTTPS connections making clients vulnerable to man-in-the-middle attacks. Calcite uses this method internally 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 packages

EcosystemPackageAffected versions
Mavenorg.apache.calcite:calcite-core
All versions before 1.26.0 (fixed in 1.26.0)
Mavenorg.apache.calcite:calcite-druid
All versions before 1.26.0 (fixed in 1.26.0)
Mavenorg.apache.calcite:calcite-splunk
All versions before 1.26.0 (fixed in 1.26.0)

References