Lucene search

K
cveApacheCVE-2022-36364
HistoryJul 28, 2022 - 9:15 a.m.

CVE-2022-36364

2022-07-2809:15:08
CWE-665
apache
web.nvd.nist.gov
84
3
cve-2022-36364
apache calcite
avatica
jdbc driver
code execution
http client
security vulnerability

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

8.9

Confidence

High

EPSS

0.002

Percentile

51.7%

Apache Calcite Avatica JDBC driver creates HTTP client instances based on class names provided via httpclient_impl connection property; however, the driver does not verify if the class implements the expected interface before instantiating it, which can lead to code execution loaded via arbitrary classes and in rare cases remote code execution. To exploit the vulnerability: 1) the attacker needs to have privileges to control JDBC connection parameters; 2) and there should be a vulnerable class (constructor with URL parameter and ability to execute code) in the classpath. From Apache Calcite Avatica 1.22.0 onwards, it will be verified that the class implements the expected interface before invoking its constructor.

Affected configurations

Nvd
Vulners
Node
apacheapache_calcite_avaticaRange<1.22.0
VendorProductVersionCPE
apacheapache_calcite_avatica*cpe:2.3:a:apache:apache_calcite_avatica:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Apache Calcite Avatica",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThan": "1.22.0",
        "status": "affected",
        "version": "Apache Calcite Avatica",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

8.9

Confidence

High

EPSS

0.002

Percentile

51.7%