Vulnerability
CVE-2024-27289
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.
45 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
AZL-35750
CVE-2024-27289 affecting package telegraf for versions less than 1.31.0-1
-
AZL-35763
CVE-2024-27289 affecting package telegraf for versions less than 1.29.4-4
- CGA-3hc6-f39f-v3rw
- CGA-526m-r444-j3mg
- CGA-56v6-vmr7-mjc7
- CGA-5w6w-5997-hqwf
- CGA-674f-7v7f-5v4g
- CGA-79hh-prvp-3rg9
- CGA-7m78-46q5-jc37
- CGA-7m9q-9p6r-cpv7
- CGA-853q-xmcr-jv5g
- CGA-8g64-wq5q-f7cv
- CGA-c3vc-vxfv-c9vv
- CGA-c9mv-3xvw-7mf3
- CGA-cwq3-283w-cx2v
- CGA-f7f6-r4jg-jhx2
- CGA-frqp-8pqr-jm55
- CGA-g99h-p9pr-4w8x
- CGA-gf6p-fw74-wv64
- CGA-gpr8-c22f-7956
- CGA-hgff-wgj3-vh48
- CGA-hrwg-mgwj-5v8r
- CGA-j5r5-gq4c-48qw
- CGA-jf47-23v2-7v5c
- CGA-jgfg-ggqv-vx7q
- CGA-jx6g-7qq5-x349
- CGA-mpp7-wj9f-xr9f
- CGA-ph8g-wg2r-gxv4
- CGA-pjv7-247w-59p2
- CGA-pp26-h37r-wh9j
- CGA-ppwm-7mvj-7v9h
- CGA-prcw-8657-c7q8
- CGA-q3vv-vg57-7x4j
- CGA-r384-jhwg-wr86
- CGA-v8h4-xw4v-3r7p
- CGA-w678-hfjc-2mr9
- CGA-wrjp-w6g3-3852
- CGA-wwhh-xw8g-4pww
- CGA-xc2g-mq75-hqx3
- CGA-xcwm-76g8-354f
-
DEBIAN-CVE-2024-27289
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value…
-
GHSA-m7wr-2xf7-cm9p
pgx SQL Injection via Line Comment Creation
-
GO-2024-2605
SQL injection in github.com/jackc/pgx/v4
-
RHVEX-CVE-2024-27289
pgx: SQL Injection via Line Comment Creation
-
UBUNTU-CVE-2024-27289
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value…