Live threats

All CVEs / Djangoproject

CVE-2023-41164Djangoproject Django

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Nov 3, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1284
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 3.2 < 3.2.21 3.2.21 pip install "django>=3.2.21"
PyPI django ≥ 4.1 < 4.1.11 4.1.11 pip install "django>=4.1.11"
PyPI django ≥ 4.2 < 4.2.5 4.2.5 pip install "django>=4.2.5"
PyPI django ≥ 3.2 < 3.2.21 3.2.21 pip install "django>=3.2.21"
PyPI django ≥ 4.1 < 4.1.11 4.1.11 pip install "django>=4.1.11"
PyPI django ≥ 4.2 < 4.2.5 4.2.5 pip install "django>=4.2.5"

Per OSV / GitHub Advisories (GHSA-7h4p-27mh-hmrw, PYSEC-2023-225). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 3.2 < 3.2.21
djangoprojectdjango≥ 4.1 < 4.1.11
djangoprojectdjango≥ 4.2 < 4.2.5
fedoraprojectfedora39

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.