Vulnerability advisory

CVE-2021-28658

Published Updated OSV record ↗

Also known as BIT-django-2021-28658GHSA-xgxc-v2qg-chmhPYSEC-2021-6

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/django/django ↗
2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 to before ad9fa56a17bf9691615e9bb6e41d08d51cfe8a5dad9fa56a17bf9691615e9bb6e41d08d51cfe8a5d
2a04e24d2dfc8e60a66e4369d970913cb2112d91 to before f52800243545af658c27f83623b5fc72ae6b8dcff52800243545af658c27f83623b5fc72ae6b8dcf
0b8a0296bfd30748f08021834e95cdae241686e8 to before c4928c9115104d3d88a0ccb57e030f0b5f445ed8c4928c9115104d3d88a0ccb57e030f0b5f445ed8

Description

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

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