Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-27304
HistoryMar 06, 2024 - 12:00 a.m.

CVE-2024-27304

2024-03-0600:00:00
ubuntu.com
ubuntu.com
58
pgx driver
sql injection
vulnerability
fix
v4.18.2
v5.5.4
workaround
user input
postgresql

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8.5

Confidence

Low

EPSS

0

Percentile

10.3%

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.

References

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8.5

Confidence

Low

EPSS

0

Percentile

10.3%