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

exploitDog

github логотип

GHSA-mrww-27vc-gghv

Опубликовано: 04 мар. 2024
Источник: github
Github: Прошло ревью
CVSS4: 8.1
CVSS3: 9.8

Описание

pgx SQL Injection via Protocol Message Size Overflow

Impact

SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control.

Patches

The problem is resolved in v4.18.2 and v5.5.4.

Workarounds

Reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

Пакеты

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

github.com/jackc/pgx

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

< 4.18.2

4.18.2

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

github.com/jackc/pgx

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

>= 5.0.0, < 5.5.4

5.5.4

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

github.com/jackc/pgx/v4

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

< 4.18.2

4.18.2

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

github.com/jackc/pgx/v5

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

>= 5.0.0, < 5.5.4

5.5.4

EPSS

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

8.1 High

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-190
CWE-89

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

CVSS3: 9.8
ubuntu
почти 2 года назад

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

CVSS3: 8.1
redhat
почти 2 года назад

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

CVSS3: 9.8
nvd
почти 2 года назад

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

CVSS3: 9.8
msrc
больше 1 года назад

pgx SQL Injection via Protocol Message Size Overflow

CVSS3: 9.8
debian
почти 2 года назад

pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur ...

EPSS

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

8.1 High

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-190
CWE-89