CVE-2023-41164: Django: CVE-2023-41164: Potential denial of service vulnerability in django.utils.encoding.uri_to_iri()

Published Sep 4, 2023
·
Updated

django.utils.encoding.uritoiri() was subject to potential denial of service attack via certain inputs with a very large number of Unicode characters.

https://www.djangoproject.com/weblog/2023/sep/04/security-releases/

Other sources

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.

Ubuntu

Affected Software

17 affected componentsFixes available
ubuntu/python-django<3.2.21, <4.1.11, <4.2.5
3.2.214.1.114.2.5
ubuntu/python-django<2:2.2.12-1ubuntu0.19
2:2.2.12-1ubuntu0.19
ubuntu/python-django<2:3.2.12-2ubuntu1.8
2:3.2.12-2ubuntu1.8
ubuntu/python-django<3:3.2.18-1ubuntu0.4
3:3.2.18-1ubuntu0.4
ubuntu/python-django<1:1.11.11-1ubuntu1.21+
1:1.11.11-1ubuntu1.21+
ubuntu/python-django<3:4.2.4-1ubuntu1
3:4.2.4-1ubuntu1
debian/python-django<=1:1.11.29-1~deb10u1, <=2:2.2.28-1~deb11u2, <=3:3.2.19-1+deb12u1
1:1.11.29-1+deb10u113:4.2.11-1
pip/django>=4.2<4.2.5
4.2.5
pip/django>=4.1<4.1.11
4.1.11
pip/django>=3.2<3.2.21
3.2.21
djangoproject Django>=3.2<3.2.21
djangoproject Django>=4.1<4.1.11
djangoproject Django>=4.2<4.2.5
Fedoraproject Fedora=39
redhat/python-django<4.2.5
4.2.5
redhat/python-django<4.1.11
4.1.11
redhat/python-django<3.2.21
3.2.21

Event History

Sep 4, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Red Hat·01:10 PM
DescriptionSeverityAffected Software
Nov 3, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:36 AM
Jan 12, 2024
Data Sourced
via Launchpad·12:25 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this potential denial of service vulnerability?

The vulnerability ID is CVE-2023-41164.

2

What is the severity level of CVE-2023-41164?

The severity level of CVE-2023-41164 is medium.

3

Which software versions are affected by CVE-2023-41164?

Software versions 4.2.5, 4.1.11, 3.2.21, 2:2.2.12-1ubuntu0.19, 2:3.2.12-2ubuntu1.8, 3:3.2.18-1ubuntu0.4, and 1:1.11.29-1+deb10u10 are affected by CVE-2023-41164.

4

How can I fix CVE-2023-41164?

To fix CVE-2023-41164, upgrade to version 4.2.5, 4.1.11, 3.2.21, 2:2.2.12-1ubuntu0.19, 2:3.2.12-2ubuntu1.8, 3:3.2.18-1ubuntu0.4, or 1:1.11.29-1+deb10u10 of python-django.

5

Where can I find more information about CVE-2023-41164?

You can find more information about CVE-2023-41164 in the following references: [link1](https://www.openwall.com/lists/oss-security/2023/09/04/1), [link2](https://www.djangoproject.com/weblog/2023/sep/04/security-releases/), [link3](https://github.com/django/django/commit/3f41d6d62929dfe53eda8109b3b836f26645bdce).

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