ADVISORIES

Go Vulnerability Database

GO-2024-2605

SQL injection in github.com/jackc/pgx/v4

Details

SQL injection is possible when the database uses the non-default simple protocol, a minus sign directly precedes a numeric placeholder followed by a string placeholder on the same line, and both parameter values are user-controlled.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/jackc/pgx
All versions, no fix listed
Gogithub.com/jackc/pgx/v4
All versions before 4.18.2 (fixed in 4.18.2)

References