CVE-2023-41164
Django Denial of service vulnerability in django.utils.encoding.uri_to_iri
Reported by mitre · Published November 3, 2023
Django is fixed in 4.2.5, 4.1.11 and 3.2.21 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Django | PyPI | 4.2.5, 4.1.11, 3.2.21 |
| django | Bitnami | 4.2.5, 4.1.11, 3.2.21 |
| django | djangoproject | 4.2.5, 4.1.11, 3.2.21 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | Django | 3.2, 4.1, 4.2 |
| n/a | n/a | * |
| alpine | py3-django | 0 |
Timeline
- Sep 4, 2023 CVE Published
- Nov 3, 2023 EPSS Score (30 in total, the first dated here)
- Jan 26, 2026 CVE Updated
- Mar 9, 2026 Security Advisory (11 in total, the first dated here)
- Aug 4, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-41164
vulnetix vdb fixes CVE-2023-41164
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-41164/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2023-a67af7d8f4 vendor-advisory
- FEDORA-2024-84fbbbb914 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-41164 advisory
- https://github.com/advisories/GHSA-7h4p-27mh-hmrw advisory
- https://github.com/django/django/commit/6f030b1149bd8fa4ba90452e77cb3edc095ce54e patch
- https://github.com/django/django/commit/9c51b4dcfa0cefcb48231f4d71cafa80821f87b9 patch
- https://github.com/django/django/commit/ba00bc5ec6a7eff5e08be438f7b5b0e9574e8ff0 patch
- https://docs.djangoproject.com/en/4.2/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2023-225.yaml advisory
- https://groups.google.com/forum/#!forum/django-announce url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HJFRPUHDYJHBH3KYHSPGULQM4JN7BMSU url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQJOMNRMVPCN5WMIZ7YSX5LQ7IR2NY4D url
- https://security.netapp.com/advisory/ntap-20231214-0002 advisory
…and 2 more