PYSEC-2023-225: Pypi/django vulnerability
Published Nov 3, 2023
·Updated
In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uritoiri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
Affected Software
1 affected component
pypi/django>=3.2<3.2.21, >=4.1<4.1.11, >=4.2<4.2.5
Event History
Nov 3, 2023
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
Description
Frequently Asked Questions
1
Which Django versions need to be updated?
Affected release lines are Django 3.2 before 3.2.21, Django 4.1 before 4.1.11, and Django 4.2 before 4.2.5. Update to the stated fixed release or a later version in the applicable release line.
2
What input is required to trigger the denial of service?
The issue is triggered when django.utils.encoding.uri_to_iri() processes certain inputs containing a very large number of Unicode characters. Systems are exposed where an attacker can cause such input to reach that function.