Vulnerability · Published Oct 9, 2020 · Assigned by apache
CVE-2020-13955
Medium 5.9
In plain English
A medium-severity security flaw in Apache Calcite. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.calcite:calcite-core | 1.26.0 | GHSA-hxp5-8pgq-mgv9 |
| Maven | org.apache.calcite:calcite-druid | 1.26.0 | GHSA-hxp5-8pgq-mgv9 |
| Maven | org.apache.calcite:calcite-splunk | 1.26.0 | GHSA-hxp5-8pgq-mgv9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apache Calcite | Apache Calcite 0.8 to 1.25 |