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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203