{"id":"GO-2024-2605","revision":"34e289bc360d40dabcafa4cb8a9100aa","records":[{"revision":"34e289bc360d40dabcafa4cb8a9100aa","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2605","aliases":["CVE-2024-27289","GHSA-m7wr-2xf7-cm9p"],"title":"SQL injection in github.com/jackc/pgx/v4","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.","state":0,"publishedAt":"2024-03-11T20:08:05+00:00","modifiedAt":"2026-02-04T03:50:07.714601+00:00","affected":[{"ecosystem":"Go","name":"github.com/jackc/pgx","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/jackc/pgx/v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.18.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/jackc/pgx/security/advisories/GHSA-m7wr-2xf7-cm9p","https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2605","license":"OSV · upstream source license applies","key":"osv:GO-2024-2605","identifiers":["GO-2024-2605","CVE-2024-27289","GHSA-m7wr-2xf7-cm9p"]},"retained":false,"historicalAffected":[]}],"coverage":[]}