Vulnerability advisory

GO-2024-2606

SQL injection in github.com/jackc/pgproto3 and github.com/jackc/pgx

Published Updated OSV record ↗

Also known as CVE-2024-27304GHSA-7jwh-3vrq-q3m8GHSA-mrww-27vc-gghv

Severity

Severity not reported.

Affected versions

AffectedFixed in
All versionsNo fix listed
AffectedFixed in
All versions before 4.18.24.18.2
AffectedFixed in
5.0.0 to before 5.5.45.5.4

Description

An integer overflow in the calculated message size of a query or bind message could allow a single large message to be sent as multiple messages under the attacker's control. This could lead to SQL injection if an attacker can cause a single query or bind message to exceed 4 GB in size.

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