Vulnerability advisory

CVE-2022-34265

Published Updated OSV record ↗

Also known as BIT-django-2022-34265GHSA-p64x-8rxx-wf6qPYSEC-2022-213

Severity

Severity not reported.

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/django/django ↗
3591e1c1acbd7c13174275367c3fdf012cb0413b to before 746e88cc634469112b823225c19d75c7362f8ecf746e88cc634469112b823225c19d75c7362f8ecf
ef62a3a68c9d558486145a42c0d71ea9a76add9e to before caad462feaa84ba78ed658a9595a4a4363dad2dbcaad462feaa84ba78ed658a9595a4a4363dad2db

Description

An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.

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