Vulnerability advisory

CVE-2021-33571

Published Updated OSV record ↗

Also known as BIT-django-2021-33571GHSA-p99v-5w3c-jqq9PYSEC-2021-99

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/django/django ↗
2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 to before 2da029d8540ab0b2e9edcba25c4d46c52853197f2da029d8540ab0b2e9edcba25c4d46c52853197f
2a04e24d2dfc8e60a66e4369d970913cb2112d91 to before 625d3c1c643b0eb5c84339415ca0ba9f1728efa2625d3c1c643b0eb5c84339415ca0ba9f1728efa2
3591e1c1acbd7c13174275367c3fdf012cb0413b to before 843c34b3ab921c1acf77ee2014a97bc7975595b8843c34b3ab921c1acf77ee2014a97bc7975595b8
Not specified203d4ab9ebcd72fc4d6eb7398e66ed9e474e118e
Not specified9f75e2e562fa0c0482f3dde6fc7399a9070b4a3d
Not specifiedf27c38ab5d90f68c9dd60cabef248a570c0be8fc

Description

In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address, and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address are unaffected with Python 3.9.5+..) .

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