GO-2024-2605

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

At a glance

Published
Updated
CVE
CVE-2024-27289
Aliases
GHSA-m7wr-2xf7-cm9p

Description

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

PackageVersions
Go · github.com/jackc/pgxintroduced 0
Go · github.com/jackc/pgx/v4introduced 0, fixed 4.18.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database