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 in Wolfi
- CGA-3hc6-f39f-v3rw
- CGA-56v6-vmr7-mjc7
- CGA-5w6w-5997-hqwf
- CGA-79hh-prvp-3rg9
- CGA-7m9q-9p6r-cpv7
- CGA-853q-xmcr-jv5g
- CGA-8g64-wq5q-f7cv
- 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-hrwg-mgwj-5v8r
- CGA-jf47-23v2-7v5c
- CGA-jx6g-7qq5-x349
- CGA-mpp7-wj9f-xr9f
- CGA-pjv7-247w-59p2
- CGA-pp26-h37r-wh9j
- CGA-ppwm-7mvj-7v9h
- CGA-v8h4-xw4v-3r7p
- CGA-wrjp-w6g3-3852
- CGA-wwhh-xw8g-4pww
- CGA-xc2g-mq75-hqx3