cve.bz

CVE-2023-41164

7.5 highEPSS 1.5%Fix available

High (7.5). EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in django 3.2.21, 4.1.11, 4.2.5.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-41164 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-41164?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-41164?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-41164 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:djangofrom 3.2 before 3.2.21
djangoproject:djangofrom 4.1 before 4.1.11
djangoproject:djangofrom 4.2 before 4.2.5
fedoraproject:fedora39

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7h4p-27mh-hmrwPyPIdjango>=3.2 <3.2.213.2.21
GHSA-7h4p-27mh-hmrwPyPIdjango>=4.1 <4.1.114.1.11
GHSA-7h4p-27mh-hmrwPyPIdjango>=4.2 <4.2.54.2.5
PYSEC-2023-225PyPIdjango>=3.2 <3.2.21
>=4.1 <4.1.11
>=4.2 <4.2.5
3.2.21, 4.1.11, 4.2.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-django1:1.11.29-1+deb10u10DLA-3558-1
Debian11python-django2:2.2.28-1~deb11u7DLA-4210-1
Debian12python-django3:3.2.25-0+deb12u1DEBIAN-CVE-2023-41164 DSA-6136-1
Debian13, 14python-django3:3.2.21-1DEBIAN-CVE-2023-41164
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.19UBUNTU-CVE-2023-41164 USN-6378-1
Ubuntu22.04:LTSpython-django2:3.2.12-2ubuntu1.8UBUNTU-CVE-2023-41164 USN-6378-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSpython-djangono fix listedUBUNTU-CVE-2023-41164
UbuntuPro:18.04:LTSpython-django1:1.11.11-1ubuntu1.21+esm2UBUNTU-CVE-2023-41164 USN-6414-2
Red Hatansible_automation_platform:2.3::el8automation-controller-venv-tower0:4.3.16-1.el8apRHSA-2023:5701
Red Hatansible_automation_platform:2.3::el8, ansible_automation_platform_developer:2.3::el8, ansible_automation_platform_inside:2.3::el8ansible-core0:2.14.11-1.el8apRHSA-2023:5701
Red Hatansible_automation_platform:2.3::el9automation-controller-venv-tower0:4.3.16-1.el9apRHSA-2023:5701
Red Hatansible_automation_platform:2.3::el9, ansible_automation_platform_developer:2.3::el9, ansible_automation_platform_inside:2.3::el9ansible-core0:2.14.11-1.el9apRHSA-2023:5701
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.4.6-1.el8apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:3.2.21-1.el8apRHSA-2023:5208
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:3.2.22-1.el8apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core0:2.15.5-1.el8apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.4.6-1.el9apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:3.2.21-1.el9apRHSA-2023:5208
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:3.2.22-1.el9apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core0:2.15.5-1.el9apRHSA-2023:5758
18 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-Django1.11.29-3.51.1SUSE-SU-2023:3580-1
SUSEOpenStack Cloud 9, OpenStack Cloud Crowbar 9python-Django11.11.29-3.50.1SUSE-SU-2023:3533-1
openSUSETumbleweedpython-Django4.2.5-1.1openSUSE-SU-2024:13198-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.18, v3.19, v3.20 and 4 morepy3-django4.2.5-r0ALPINE-CVE-2023-41164

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.3 for RHEL 8automation-controller-0:4.3.16-1.el8apFixed 2023-10-16RHSA-2023:5701
Red Hat Ansible Automation Platform 2.3 for RHEL 9automation-controller-0:4.3.16-1.el9apFixed 2023-10-16RHSA-2023:5701
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-django-0:3.2.21-1.el8apFixed 2023-09-18RHSA-2023:5208
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controller-0:4.4.6-1.el8apFixed 2023-10-16RHSA-2023:5758
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-django-0:3.2.21-1.el9apFixed 2023-09-18RHSA-2023:5208
Red Hat Ansible Automation Platform 2.4 for RHEL 9automation-controller-0:4.4.6-1.el9apFixed 2023-10-16RHSA-2023:5758
Red Hat Satellite 6.15 for RHEL 8python-django-0:4.2.9-1.el8pcFixed 2024-04-23RHSA-2024:2010
RHUI 4 for RHEL 8python-django-0:4.2.11-1.el8uiFixed 2024-04-18RHSA-2024:1878
Red Hat Certification for Red Hat Enterprise Linux 7python-djangoFix deferred
Red Hat OpenStack Platform 16.1python-django20Out of support scope
Red Hat OpenStack Platform 16.2python-django20Out of support scope
Red Hat OpenStack Platform 17.0python-djangoOut of support scope
Red Hat OpenStack Platform 17.1python-djangoOut of support scope
Red Hat OpenStack Platform 18.0python-djangoAffected
Red Hat Storage 3python-djangoWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-41164.

References

Check your stackJSON