Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13955

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13955
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:42 UTC · Revision 1

Source evidence

CVE-2020-13955

core-osv · Original source

Published 9 Oct 2020, 13:15 UTC

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.

osv:CVE-2020-13955
Complete source record
{
  "id": "28eab0194fd60a8b2517a2a6c28165082bbe45266f54d24393653141c96054bc",
  "url": "https://osv.dev/vulnerability/CVE-2020-13955",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13955",
    "summary": "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.",
    "evidence": "osv:CVE-2020-13955",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-13955",
      "aliases": [
        "CVE-2020-13955",
        "GHSA-hxp5-8pgq-mgv9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/calcite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cfa37c3fd6ae18894035721d9f1eacde40e6b268"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:calcite:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.26"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "calcite-1.25.0-rc0",
            "calcite-1.25.0",
            "calcite-1.24.0-rc0",
            "calcite-1.24.0",
            "calcite-1.23.0-rc1",
            "calcite-1.23.0",
            "v1.23.0-rc1",
            "calcite-1.22.0",
            "calcite-1.21.0",
            "calcite-1.20.0",
            "calcite-1.19.0",
            "calcite-1.18.0",
            "calcite-1.17.0",
            "calcite-1.16.0",
            "calcite-1.15.0",
            "calcite-1.14.0",
            "calcite-1.13.0",
            "calcite-1.12.0",
            "calcite-1.11.0",
            "rel/calcite-avatica-1.9.0",
            "calcite-avatica-1.9.0-rc1",
            "calcite-avatica-1.9.0",
            "calcite-1.10.0",
            "calcite-1.9.0",
            "calcite-1.8.0",
            "calcite-1.7.0",
            "rel/calcite-avatica-1.7.1",
            "calcite-avatica-1.7.1",
            "rel/calcite-avatica-1.7.0",
            "calcite-avatica-1.7.0",
            "rel/calcite-1.6.0",
            "calcite-1.6.0",
            "rel/calcite-1.5.0",
            "calcite-1.5.0",
            "rel/calcite-1.4.0-incubating",
            "calcite-1.4.0-incubating",
            "rel/calcite-1.3.0-incubating",
            "calcite-1.3.0-incubating",
            "rel/calcite-1.2.0-incubating",
            "calcite-1.2.0-incubating",
            "rel/calcite-1.1.0-incubating",
            "calcite-1.1.0-incubating",
            "rel/calcite-1.0.0-incubating",
            "calcite-1.0.0-incubating",
            "rel/calcite-0.9.2-incubating",
            "calcite-0.9.2-incubating",
            "rel/calcite-0.9.1-incubating",
            "calcite-0.9.1-incubating",
            "optiq-0.9.0-incubating",
            "optiq-parent-0.8",
            "optiq-parent-0.7",
            "optiq-parent-0.6",
            "optiq-parent-0.5",
            "optiq-parent-0.4.18",
            "optiq-parent-0.4.17",
            "optiq-parent-0.4.16",
            "optiq-parent-0.4.15",
            "optiq-parent-0.4.14",
            "optiq-parent-0.4.13",
            "optiq-parent-0.4.12",
            "optiq-0.4.11",
            "optiq-0.4.10",
            "optiq-0.4.9",
            "optiq-0.4.8",
            "optiq-0.4.7",
            "v0.4.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13955.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:43.408207540Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r0b0fbe2038388175951ce1028182d980f9e9a7328be13d52dab70bb3%40%3Cdev.calcite.apache.org%3E"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-13955",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435614,
  "published_at": "2020-10-09T13:15:11.083+00:00"
}