CVE-2022-41323 — Django denial-of-service vulnerability in django
Django denial-of-service vulnerability in internationalized URLs
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.45%). Schedule for your next planned update.
Does your project use an affected django version?
Paste your requirements.txt to check it for CVE-2022-41323 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published October 16, 2022 (1502 days ago).
- Last revised September 20, 2024 — 705 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "django>=4.0.8"
pip install "django>=3.2.16"
pip install "django>=4.1.2"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: PyPI (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1333
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41323ADVISORY
- https://github.com/django/django/commit/23f0093125ac2e553da6c1b2f9988eb6a3dd2ea1WEB
- https://github.com/django/django/commit/5b6b257fa7ec37ff27965358800c67e2dd11c924WEB
- https://github.com/django/django/commit/9d656ea51d9ea7105c0c0785783ac29d426a7d25WEB
- https://docs.djangoproject.com/en/4.0/releases/securityWEB
- https://github.com/django/djangoPACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-304.yamlWEB
- https://groups.google.com/forum/#!forum/django-announceWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FKYVMMR7RPM6AHJ2SBVM2LO6D3NGFY7BWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IKWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQIWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VZS4G6NSZWPTVXMMZHJOJVQEPL3QTO77WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YJB6FUBBLVKKG655UMTLQNN6UQ6EDLSPWEB
- https://security.netapp.com/advisory/ntap-20221124-0001WEB
- https://www.djangoproject.com/weblog/2022/oct/04/security-releasesWEB
Frequently Asked Questions
- What is CVE-2022-41323?
- Django denial-of-service vulnerability in internationalized URLs. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2022-41323?
- CVE-2022-41323 affects django. It has a 3.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-41323 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 89.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-14550HIGH
- CVE-2025-57833HIGH
Django is subject to SQL injection through its column aliases
- CVE-2026-3902HIGH
Django vulnerable to ASGI header spoofing via underscore/hyphen conflation
- CVE-2026-1207MEDIUM
- CVE-2024-41990MEDIUM
Django vulnerable to a denial-of-service attack
- CVE-2020-24584
- CVE-2024-39330
- CVE-2021-35042