CVE-2024-27289

golang-github-jackc-pgx: pgx is a PostgreSQL driver and toolkit for Go

CVE-2024-27289 is fixed in golang-github-jackc-pgx on 1 platform, first by DEBIAN-CVE-2024-27289, released March 6, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.1
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0085
58th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
golang-github-jackc-pgx · Debian 13.5 (trixie) 4.18.1-2 DEBIAN-CVE-2024-27289 Mar 6, 2024
golang-github-jackc-pgx · Debian 14 4.18.1-2 DEBIAN-CVE-2024-27289 Mar 6, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.