Django up to 3.2.15/4.0.7/4.1.1 URL locale incorrect regex
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 1.20 |
Summary
A vulnerability, which was classified as critical, has been found in Django up to 3.2.15/4.0.7/4.1.1. Affected is an unknown function of the component URL Handler. Performing a manipulation of the argument locale results in incorrect regex. This vulnerability was named CVE-2022-41323. There is no available exploit. It is advisable to upgrade the affected component.
Details
A vulnerability classified as problematic has been found in Django up to 3.2.15/4.0.7/4.1.1 (Content Management System). This affects an unknown functionality of the component URL Handler. The manipulation of the argument locale with an unknown input leads to a incorrect regex vulnerability. CWE is classifying the issue as CWE-185. The product specifies a regular expression in a way that causes data to be improperly matched or compared. This is going to have an impact on availability. The summary by CVE is:
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.
The weakness was presented 10/16/2022 as 5b6b257fa7ec37ff27965358800c67e2dd11c924. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2022-41323 since 09/23/2022. Technical details of the vulnerability are known, but there is no available exploit.
Upgrading to version 3.2.16, 4.0.8 or 4.1.2 eliminates this vulnerability. Applying the patch 5b6b257fa7ec37ff27965358800c67e2dd11c924 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.2.10
- 3.2.11
- 3.2.12
- 3.2.13
- 3.2.14
- 3.2.15
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.1.0
- 4.1.1
License
Website
- Product: https://github.com/django/django/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Incorrect regexCWE: CWE-185 / CWE-697
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Django 3.2.16/4.0.8/4.1.2
Patch: 5b6b257fa7ec37ff27965358800c67e2dd11c924
Timeline
09/23/2022 🔍10/16/2022 🔍
10/16/2022 🔍
05/14/2025 🔍
Sources
Product: github.comAdvisory: 5b6b257fa7ec37ff27965358800c67e2dd11c924
Status: Confirmed
CVE: CVE-2022-41323 (🔍)
GCVE (CVE): GCVE-0-2022-41323
GCVE (VulDB): GCVE-100-211023
Entry
Created: 10/16/2022 14:13Updated: 05/14/2025 20:27
Changes: 10/16/2022 14:13 (44), 11/09/2022 14:09 (11), 05/14/2025 20:27 (15)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.