PYSEC-2022-304
Dashboard / Vulnerabilities / PYSEC-2022-304
PYSEC-2022-304
Published: 16 Oct 2022Last Modified: 10 Jun 2026
Summary:
Details: In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.
References: https://docs.djangoproject.com/en/4.0/releases/security/, https://github.com/django/django/commit/5b6b257fa7ec37ff27965358800c67e2dd11c924, https://www.djangoproject.com/weblog/2022/oct/04/security-releases/, https://groups.google.com/forum/#!forum/django-announce, https://github.com/advisories/GHSA-qrw5-5h28-6cmg
Affected packages
Package
Name: django
Purl: pkg:pypi/django
Affected ranges
Affected versions
3.2
3.2.1
3.2.10
3.2.11
3.2.12
3.2.13
3.2.14
3.2.15
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
