Skip to content
Fencer Vulns
high 7.5

CVE-2023-41164 json

Django Denial of service vulnerability in django.utils.encoding.uri_to_iri

published 2023-11-03 3 y ago modified 2026-09-08 2 mo ago also BIT-django-2023-41164 , EUVD-2023-0069 , GHSA-7h4p-27mh-hmrw , PYSEC-2023-225

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi django 3.2.21, 4.1.11, 4.2.5
  • bitnami django 3.2.21, 4.1.11, 4.2.5
  • djangoproject django 3.2.21, 4.1.11, 4.2.5
  • python-django Debian 12 3:3.2.25-0+deb12u1
  • python-django Debian 14, Debian 13 3:3.2.21-1

debian advisories DEBIAN-CVE-2023-41164

  • python-django Ubuntu 20.04 LTS 2:2.2.12-1ubuntu0.19
  • python-django Ubuntu 22.04 LTS 2:3.2.12-2ubuntu1.8
  • python-django Ubuntu Pro 18.04 LTS 1:1.11.11-1ubuntu1.21+esm2

ubuntu advisories UBUNTU-CVE-2023-41164

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • foreman satellite utils 6.15, satellite capsule 6.15, satellite 6.15 3.9.1.6-1.el8sat
  • foreman-cli satellite utils 6.15, satellite 6.15 3.9.1.6-1.el8sat
  • foreman-ec2 satellite 6.15 3.9.1.6-1.el8sat
  • foreman-pcp satellite 6.15 3.9.1.6-1.el8sat
  • puppetserver satellite capsule 6.15, satellite 6.15 7.14.0-1.el8sat
  • rubygem-puma satellite 6.15 6.4.2-1.el8sat
  • foreman-ovirt satellite 6.15 3.9.1.6-1.el8sat
  • foreman-redis satellite 6.15 3.9.1.6-1.el8sat

red hat advisories RHSA-2024:2010RHSA-2024:1878RHSA-2023:5758RHSA-2023:5701RHSA-2023:5208

  • python-Django OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.11.29-3.51.1
  • python-Django1 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.11.29-3.50.1

suse advisories SUSE-SU-2023:3580-1SUSE-SU-2023:3533-1

  • python-Django5 openSUSE Tumbleweed 5.2.16-1.1
  • python-Django openSUSE Tumbleweed 5.2.16-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.30-4.1
  • python-Django6 openSUSE Tumbleweed 6.0-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.14-1.1
  • python-Django openSUSE Tumbleweed 4.2.5-1.1

opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:13198-1

  • py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 4.2.5-r0

alpine advisories ALPINE-CVE-2023-41164

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-41164 updated cvss 7.5

python-django: Potential denial of service vulnerability in ``django.utils.encoding.uri_to_iri()``

  • Red Hat Certification for Red Hat Enterprise Linux 7 python-django
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 16.1 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 16.2 python-django20, python3-django20, python-django20-bash-completion Red Hat OpenStack Platform 17.0 python3-django Red Hat OpenStack Platform 17.1 python-django, python3-django
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 18.0 python-django
    affected: no fix available
  • Red Hat Storage 3 python-django, python2-django, python-django-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat Ansible Automation Platform 2.3 for RHEL 8 automation-controller-venv-tower 4.3.16-1.el8ap Red Hat Ansible Automation Platform 2.3 for RHEL 9 automation-controller-venv-tower 4.3.16-1.el9ap
    fixed: vendor fix RHSA-2023:5701
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-django 3.2.21-1.el8ap, python3x-django 3.2.21-1.el8ap, automation-controller-venv-tower 4.4.6-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-django 3.2.21-1.el9ap, python3-django 3.2.21-1.el9ap, automation-controller-venv-tower 4.4.6-1.el9ap
    fixed: vendor fix RHSA-2023:5758
  • Red Hat Satellite 6.15 for RHEL 8 python-django 4.2.9-1.el8pc, python3.11-django 4.2.9-1.el8pc
    fixed: vendor fix RHSA-2024:2010
  • Red Hat RHUI 4 for RHEL 8 python-django 4.2.11-1.el8ui, python3.11-django 4.2.11-1.el8ui
    fixed: vendor fix RHSA-2024:1878
show 1 more
  • Red Hat Ansible Automation Platform 2.3 for RHEL 8 ansible-core 2.14.11-1.el8ap, ansible-test 2.14.11-1.el8ap, automation-controller 4.3.16-1.el8ap, automation-controller-ui 4.3.16-1.el8ap, automation-controller-cli 4.3.16-1.el8ap, automation-controller-server 4.3.16-1.el8ap Red Hat Ansible Automation Platform 2.3 for RHEL 9 ansible-core 2.14.11-1.el9ap, ansible-test 2.14.11-1.el9ap, automation-controller 4.3.16-1.el9ap, automation-controller-ui 4.3.16-1.el9ap, automation-controller-cli 4.3.16-1.el9ap, automation-controller-server 4.3.16-1.el9ap Red Hat Ansible Automation Platform 2.4 for RHEL 8 ansible-core 2.15.4-1.el8ap, ansible-core 2.15.5-1.el8ap, ansible-test 2.15.4-1.el8ap, ansible-test 2.15.5-1.el8ap, ansible-runner 2.3.4-1.el8ap, python39-django 3.2.22-1.el8ap, +11 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 ansible-core 2.15.4-1.el9ap, ansible-core 2.15.5-1.el9ap, ansible-test 2.15.4-1.el9ap, ansible-test 2.15.5-1.el9ap, ansible-runner 2.3.4-1.el9ap, python-django 3.2.22-1.el9ap, +11 more Red Hat Satellite 6.15 for RHEL 8 cjson 1.7.14-5.el8sat, libsolv 0.7.22-6.el8pc, katello 4.11.0-1.el8sat, libcomps 0.1.18-8.el8pc, python-jq 1.6.0-3.el8pc, foreman 3.9.1.6-1.el8sat, +677 more Red Hat RHUI 4 for RHEL 8 libsolv 0.7.22-6.el8ui, libcomps 0.1.18-8.el8ui, python-jq 1.6.0-3.el8ui, python-xlrd 2.0.1-8.el8ui, python-xlwt 1.3.0-6.el8ui, python-yarl 1.8.2-4.el8ui, +201 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi django
>=3.2, <3.2.21
>=4.1, <4.1.11
>=4.2, <4.2.5
3.2.21
4.1.11
4.2.5
bitnami django
>=3.2.0, <3.2.21
>=4.1.0, <4.1.11
>=4.2.0, <4.2.5
3.2.21
4.1.11
4.2.5

Classification

Weakness
  • CWE-1284 Improper Validation of Specified Quantity in Input
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.