Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2022-41323

CVE-2022-41323: Django denial-of-service vulnerability in internationalized URLs

October 16, 2022 (updated September 20, 2024)

In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.

References

  • docs.djangoproject.com/en/4.0/releases/security
  • github.com/advisories/GHSA-qrw5-5h28-6cmg
  • github.com/django/django
  • github.com/django/django/commit/23f0093125ac2e553da6c1b2f9988eb6a3dd2ea1
  • github.com/django/django/commit/5b6b257fa7ec37ff27965358800c67e2dd11c924
  • github.com/django/django/commit/9d656ea51d9ea7105c0c0785783ac29d426a7d25
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-304.yaml
  • groups.google.com/forum/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FKYVMMR7RPM6AHJ2SBVM2LO6D3NGFY7B
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VZS4G6NSZWPTVXMMZHJOJVQEPL3QTO77
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YJB6FUBBLVKKG655UMTLQNN6UQ6EDLSP
  • nvd.nist.gov/vuln/detail/CVE-2022-41323
  • security.netapp.com/advisory/ntap-20221124-0001
  • www.djangoproject.com/weblog/2022/oct/04/security-releases

Code Behaviors & Features

Detect and mitigate CVE-2022-41323 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.2 before 3.2.16, all versions starting from 4.0 before 4.0.8, all versions starting from 4.1 before 4.1.2

Fixed versions

  • 3.2.16
  • 4.0.8
  • 4.1.2

Solution

Upgrade to versions 3.2.16, 4.0.8, 4.1.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/Django/CVE-2022-41323.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:51 +0000.