Shellfeed logo Shellfeed

CVE-2021-33571 · HIGH (CVSS 7.5)

Summary: 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.

Details

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+..) .

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

  • PyPI django [2.2a1 – 2.2.24]
  • PyPI django [3.0a1 – 3.1.12]
  • PyPI django [3.2a1 – 3.2.4]
  • GIT github.com/django/django [635d53a86a36cde7866b9caefeb64d809e6bfcd9 – 2da029d8540ab0b2e9edcba25c4d46c52853197f] [d36413a2eb5678dda35559a48769703acd784898 – 625d3c1c643b0eb5c84339415ca0ba9f1728efa2] [b6475d7d7940f3ce575e0b0f2d83e517f899b4cf – 843c34b3ab921c1acf77ee2014a97bc7975595b8]

References