Vulnerability advisory

GHSA-x7p5-p2c9-phvg

Unexpected database bindings

Published Updated OSV record ↗
Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected versions

AffectedFixed in
All versions before 6.20.146.20.14Advisories →
Also listed as affected (523)
7.0.0 to before 7.30.47.30.4Advisories →
Also listed as affected (77)
8.0.0 to before 8.24.08.24.0Advisories →
Also listed as affected (41)
AffectedFixed in
All versions before 6.20.146.20.14Advisories →
Also listed as affected (299)
7.0.0 to before 7.30.47.30.4Advisories →
Also listed as affected (77)
8.0.0 to before 8.24.08.24.0Advisories →
Also listed as affected (39)

Description

This is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases.

If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.

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