| { |
| "schema_version": "1.3.1", |
| "id": "GO-2024-2605", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2024-27289", |
| "GHSA-m7wr-2xf7-cm9p" |
| ], |
| "summary": "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": [ |
| { |
| "package": { |
| "name": "github.com/jackc/pgx/v4", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "4.18.2" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/jackc/pgx/v4/internal/sanitize", |
| "symbols": [ |
| "Query.Sanitize", |
| "SanitizeSQL" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/jackc/pgx/security/advisories/GHSA-m7wr-2xf7-cm9p" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "paul-gerste-sonarsource" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2024-2605" |
| } |
| } |