PyPA Advisory Database
PYSEC-2022-304
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | From 3.2 before 3.2.16 (fixed in 3.2.16) From 4.0 before 4.0.8 (fixed in 4.0.8) From 4.1 before 4.1.2 (fixed in 4.1.2) |
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