Vulnerability advisory
PYSEC-2022-1
Also known as BIT-django-2021-45115CVE-2021-45115GHSA-53qw-q765-4fww
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
2.2 to before 2.2.26 | 2.2.26Advisories → |
3.2 to before 3.2.11 | 3.2.11Advisories → |
4.0 to before 4.0.1 | 4.0.1Advisories → |
Description
An 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.