Vulnerability advisory

GO-2024-2605

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

Published Updated OSV record ↗

Also known as CVE-2024-27289GHSA-m7wr-2xf7-cm9p

Severity

Severity not reported.

Affected versions

AffectedFixed in
All versionsNo fix listed
AffectedFixed in
All versions before 4.18.24.18.2

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools