Arbitrary Code Execution Affecting org.apache.calcite.avatica:avatica-core package, versions [,1.22.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.2% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHECALCITEAVATICA-2961770
  • published28 Jul 2022
  • disclosed28 Jul 2022
  • creditPeter M

Introduced: 28 Jul 2022

CVE-2022-36364  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.apache.calcite.avatica:avatica-core to version 1.22.0 or higher.

Overview

org.apache.calcite.avatica:avatica-core is a JDBC driver framework

Affected versions of this package are vulnerable to Arbitrary Code Execution when the JDBC driver fails to verify that a given client instance implements a permitted interface. This allows attackers to load arbitrary classes and thereby execute code.

Note: For this vulnerability to be exploited there must be a constructor class in the classpath with a URL parameter and the ability to execute code.

CVSS Base Scores

version 3.1