Vulnerability advisory

CVE-2022-36359

Published Updated OSV record ↗

Also known as BIT-django-2022-36359GHSA-8x94-hmjh-97hqPYSEC-2022-245

Severity

Severity not reported.

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/django/django ↗
3591e1c1acbd7c13174275367c3fdf012cb0413b to before 653a7bd7b7c2f7c3ffe6b22be53da1472c491474653a7bd7b7c2f7c3ffe6b22be53da1472c491474
ef62a3a68c9d558486145a42c0d71ea9a76add9e to before e9e9729846dc24dc73264341094ed51f2c8ac3dce9e9729846dc24dc73264341094ed51f2c8ac3dc

Description

An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.

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