CVE-2020-13955
JSON

5.9medium

Missing Authentication for Critical Function in Apache Calcite

Severity
5.9medium CVSS:3.1 by NVD
Exploit likelihood
2.15% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-hxp5-8pgq-mgv9

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

Product or packageVersionsReported by
Apache CalciteApache Calcite 0.8 to 1.25, before 1.26CVE List, NVD
org.apache.calcite:calcite-core (Maven)before 1.26.0GitHub Advisory Database
org.apache.calcite:calcite-druid (Maven)before 1.26.0GitHub Advisory Database
org.apache.calcite:calcite-splunk (Maven)before 1.26.0GitHub Advisory Database

All scores

GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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

NVD (es)

El método HttpUtils#getURLConnection deshabilita explícitamente una verificación del nombre de host para las conexiones HTTPS, haciendo a clientes vulnerables a unos ataques de tipo man-in-the-middle. Calcite usa internamente este método para conectarse con Druid y Splunk, por lo que puede ocurrir un filtrado de información al usar los adaptadores de Calcite respectivos. El método en sí está en una clase de utilidad, por lo que las personas pueden usarlo para crear conexiones HTTPS vulnerables para otras aplicaciones. Desde Apache Calcite versión 1.26 en adelante, la verificación del nombre de host se llevará a cabo usando el almacén de confianza JVM predeterminado

References

Sources

SourceRecordLicence
CVE ListCVE-2020-13955 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-hxp5-8pgq-mgv9 changed 2023-11-08CC-BY-4.0
NVDCVE-2020-13955 changed 2026-06-17Public domain