PT-2020-5838 · Apache+1 · Druid+2

Simon Gerst

·

Published

2020-09-30

·

Updated

2021-07-21

·

CVE-2020-13955

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Apache Calcite versions prior to 1.26
Description: The issue is related to the HttpUtils#getURLConnection method, which disables hostname verification for HTTPS connections, making clients vulnerable to man-in-the-middle attacks. This method is used internally by Apache Calcite to connect with Druid and Splunk, potentially leading to information leakage when using the respective Calcite adapters. The method's location in a utility class means it can be used to create vulnerable HTTPS connections for other applications.
Recommendations: For Apache Calcite versions prior to 1.26, update to version 1.26 or later, where hostname verification will be performed using the default JVM truststore. As a temporary workaround, consider disabling the use of the HttpUtils#getURLConnection method until a patch is available. Restrict access to the vulnerable Calcite adapters for Druid and Splunk to minimize the risk of exploitation. Avoid using the vulnerable method to create HTTPS connections for other applications until the issue is resolved.

Fix

Improper Certificate Validation

Missing Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-01822
CVE-2020-13955
GHSA-HXP5-8PGQ-MGV9

Affected Products

Apache Calcite
Druid
Splunk