ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-27304

pgx: SQL Injection via Protocol Message Size Overflow

Moderate No fix available CVE-2024-27304

Details

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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-worker
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-worker
All versions, will not be fixed

References