Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-w7f5-jrpr-5c2m

Опубликовано: 29 июл. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.8

Описание

Apache Calcite Avatica JDBC driver arbitrary code execution

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.

Пакеты

Наименование

org.apache.calcite.avatica:avatica-core

maven
Затронутые версииВерсия исправления

< 1.22.0

1.22.0

EPSS

Процентиль: 94%
0.11793
Средний

8.8 High

CVSS3

Дефекты

CWE-665

Связанные уязвимости

CVSS3: 8.8
nvd
больше 3 лет назад

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.

CVSS3: 8.8
fstec
больше 3 лет назад

Уязвимость драйвера JDBC фреймворка Apache Calcite Avatica, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 94%
0.11793
Средний

8.8 High

CVSS3

Дефекты

CWE-665