snowdensb / nifi

Apache NiFi
https://nifi.apache.org/
Apache License 2.0
0 stars 0 forks source link

calcite-core-1.21.0.jar: 1 vulnerabilities (highest severity is: 5.9) #496

Open mend-for-github-com[bot] opened 5 months ago

mend-for-github-com[bot] commented 5 months ago
Vulnerable Library - calcite-core-1.21.0.jar

Core Calcite APIs and engine.

Library home page: https://www.apache.org/

Path to dependency file: /nifi-nar-bundles/nifi-sql-reporting-bundle/nifi-sql-reporting-tasks/pom.xml

Path to vulnerable library: /nifi-nar-bundles/nifi-sql-reporting-bundle/nifi-sql-reporting-tasks/pom.xml

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (calcite-core version) Remediation Possible** Reachability
CVE-2020-13955 Medium 5.9 calcite-core-1.21.0.jar Direct 1.26.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-13955 ### Vulnerable Library - calcite-core-1.21.0.jar

Core Calcite APIs and engine.

Library home page: https://www.apache.org/

Path to dependency file: /nifi-nar-bundles/nifi-sql-reporting-bundle/nifi-sql-reporting-tasks/pom.xml

Path to vulnerable library: /nifi-nar-bundles/nifi-sql-reporting-bundle/nifi-sql-reporting-tasks/pom.xml

Dependency Hierarchy: - :x: **calcite-core-1.21.0.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

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.

Publish Date: 2020-10-09

URL: CVE-2020-13955

### CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2020-10-09

Fix Resolution: 1.26.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.