CVE-2020-13955Apache Calcite
Medium 5.9 No auth needed
Follow: this CVE · Apache · Apache Calcite We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Oct 9, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Calcite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.calcite:calcite-core |
< 1.26.0 |
1.26.0 |
— |
| Maven | org.apache.calcite:calcite-druid |
< 1.26.0 |
1.26.0 |
— |
| Maven | org.apache.calcite:calcite-splunk |
< 1.26.0 |
1.26.0 |
— |
Per OSV / GitHub Advisories (GHSA-hxp5-8pgq-mgv9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | calcite | < 1.26 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Third Party Advisory