Missing Authentication for Critical Function in Apache Calcite
Moderate severity
GitHub Reviewed
Published
Apr 22, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Oct 9, 2020
Reviewed
Apr 21, 2021
Published to the GitHub Advisory Database
Apr 22, 2021
Last updated
Feb 1, 2023
"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."
References