MODERATE 5.9

CVE-2020-13955

Missing Authentication for Critical Function in Apache Calcite

Description

"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 Maven artifacts (3)

ArtifactAffected versionsFixed in
org.apache.calcite » calcite-core
< 1.26.0
1.26.0
org.apache.calcite » calcite-druid
< 1.26.0
1.26.0
org.apache.calcite » calcite-splunk
< 1.26.0
1.26.0

Blast radius

3affected artifacts
15,670affected versions
2,501dependent artifacts (est.)
479,299dependent versions

72% of the dependent artifacts (1,804) still pull an affected version in their latest release.

DepthDependent versions
Direct
87,484
2 hops
196,648
3 hops
103,644
4 hops
68,975
5 hops
17,912
6 hops
4,636

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.