CVE-2022-41323
Django denial-of-service vulnerability in internationalized URLs
Reported by mitre · Published October 16, 2022
Django is fixed in 4.1.2, 4.0.8 and 3.2.16 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Django | PyPI | 4.1.2, 4.0.8, 3.2.16 |
| django | Bitnami | 4.1.2, 4.0.8, 3.2.16 |
| py3-django | Alpine | 3.2.16-r0 |
| python-django | Arch Linux | 4.1.2-1 |
| django | djangoproject | 4.1.2, 4.0.8, 3.2.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | py3-django | 0 |
| PyPI | Django | 3.2, 4.0, 4.1 |
| arch | python-django | 0 |
| n/a | n/a | * |
Timeline
- Oct 16, 2022 CVE Published
- Oct 16, 2022 EPSS Score (30 in total, the first dated here)
- Nov 28, 2022 PoC Published
- Mar 9, 2026 Security Advisory (9 in total, the first dated here)
- Jun 16, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-41323
vulnetix vdb fixes CVE-2022-41323
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-41323/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2023-3d775d93be vendor-advisory
- FEDORA-2023-bde7913e5a vendor-advisory
- FEDORA-2023-a74513bda8 vendor-advisory
- FEDORA-2023-8fed428c5e vendor-advisory
- FEDORA-2023-a53ab7c969 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-41323 advisory
- https://github.com/advisories/GHSA-qrw5-5h28-6cmg advisory
- https://github.com/django/django/commit/23f0093125ac2e553da6c1b2f9988eb6a3dd2ea1 patch
- https://github.com/django/django/commit/9d656ea51d9ea7105c0c0785783ac29d426a7d25 patch
- https://docs.djangoproject.com/en/4.0/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-304.yaml advisory
- https://groups.google.com/forum/#!forum/django-announce url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FKYVMMR7RPM6AHJ2SBVM2LO6D3NGFY7B url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK url
…and 5 more