GitHub Advisoryadvisory · Maven

GHSA-hxp5-8pgq-mgv9 Missing Authentication for Critical Function in Apache Calcite

MEDIUM Published 2021-04-22 Modified 2021-04-21 Official page ↗
Aliases
CVE-2020-13955
Ecosystem
Maven
Packages
org.apache.calcite:calcite-core, org.apache.calcite:calcite-druid, org.apache.calcite:calcite-splunk
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-295
Reviewed
2021-04-21

Affected packages

• Maven org.apache.calcite:calcite-core: < 1.26.0 → fixed in 1.26.0 • Maven org.apache.calcite:calcite-druid: < 1.26.0 → fixed in 1.26.0 • Maven org.apache.calcite:calcite-splunk: < 1.26.0 → fixed in 1.26.0

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."

Related

Alias · CVE (1)

  • CVE-2020-13955 HttpUtils#getURLConnection method disables explicitly hostname verification for HTTPS connections making clients vulnerable to… vulnerability

Weakness · CWE (1)

  • CWE-295 Improper Certificate Validation weakness

References