Denial-of-service in Django
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| django PyPI |
|
|
4.0.1An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. UserAttributeSimilarityValidator incurred significant overhead in evaluating a submitted password that was artificially large in relation to the comparison values. In a situation where access to user registration was unrestricted, this provided a potential vector for a denial-of-service attack.
From the CVE record · mitre
Django's UserAttributeSimilarityValidator can incur significant overhead when evaluating an artificially large submitted password against comparison values. Where user registration is unrestricted, an attacker could use this to cause a denial of service without an existing account.
Check PyPI django installations running 2.2 before 2.2.26, 3.2 before 3.2.11, or 4.0 before 4.0.1, including prereleases in those ranges.