What’s Vulnerable › Vulnerabilities
CVE-2023-41164: Django Denial of service vulnerability in django.utils.encoding.uri_to_iri
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-03 · updated 2026-06-17
- Weakness: CWE-1284
Description
In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uri_to_iri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
Affected products
- Django: from 3.2 before 3.2.21; from 4.1 before 4.1.11; from 4.2 before 4.2.5 — fixed in 3.2.21, 4.1.11, 4.2.5
- Fedoraproject Fedora: 39
- Pypi Django: from 3.2 before 3.2.21; from 4.1 before 4.1.11; from 4.2 before 4.2.5; 3.2, 3.2.1, 3.2.10, 3.2.11, 3.2.12, 3.2.13 (+31) — fixed in 3.2.21, 4.1.11, 4.2.5
How to fix
Upgrade to a fixed version: Django 3.2.21, 4.1.11, 4.2.5; Pypi Django 3.2.21, 4.1.11, 4.2.5. Check the vendor advisory for mitigations.
References
- https://docs.djangoproject.com/en/4.2/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
- https://security.netapp.com/advisory/ntap-20231214-0002/
- https://www.djangoproject.com/weblog/2023/sep/04/security-releases/
- https://docs.djangoproject.com/en/4.2/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D/
- https://security.netapp.com/advisory/ntap-20231214-0002/
Get alerted when CVE-2023-41164 or the next vulnerability affects your stack