Vulnerability advisory

CVE-2021-35042

Published Updated OSV record ↗

Also known as BIT-django-2021-35042GHSA-xpfp-f569-q3p2PYSEC-2021-109

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/django/django ↗
0b8a0296bfd30748f08021834e95cdae241686e8 to before 43873b9c92cfe68a082c7feda86f6fb95a3e902c43873b9c92cfe68a082c7feda86f6fb95a3e902c
3591e1c1acbd7c13174275367c3fdf012cb0413b to before 0eca7a66239ef646f59fe2af643199275dae7a350eca7a66239ef646f59fe2af643199275dae7a35

Description

Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.

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