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

exploitDog

nvd логотип

CVE-2022-45786

Опубликовано: 04 фев. 2023
Источник: nvd
CVSS3: 8.1
EPSS Низкий

Описание

There are issues with the AGE drivers for Golang and Python that enable SQL injections to occur. This impacts AGE for PostgreSQL 11 & AGE for PostgreSQL 12, all versions up-to-and-including 1.1.0, when using those drivers.

The fix is to update to the latest Golang and Python drivers in addition to the latest version of AGE that is used for PostgreSQL 11 or  PostgreSQL 12.

The update of AGE will add a new function to enable parameterization of the cypher() function, which, in conjunction with the driver updates, will resolve this issue.

Background (for those who want more information):

After thoroughly researching this issue, we found that due to the nature of the cypher() function, it was not easy to parameterize the values passed into it. This enabled SQL injections, if the developer of the driver wasn't careful. The developer of the Golang and Pyton drivers didn't fully utilize parameterization, likely because of this, thus enabling SQL injections.

The obvious fix to this issue

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:apache:age:*:*:*:*:*:postgresql:*:*
Версия до 1.1.0 (включая)

EPSS

Процентиль: 48%
0.00254
Низкий

8.1 High

CVSS3

Дефекты

CWE-89

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

CVSS3: 8.1
github
около 3 лет назад

Apache AGE: Python and Golang drivers allow data manipulation and exposure due to SQL injection

EPSS

Процентиль: 48%
0.00254
Низкий

8.1 High

CVSS3

Дефекты

CWE-89