PyPA Advisory Database
PYSEC-2022-1
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | From 2.2 before 2.2.26 (fixed in 2.2.26) From 3.2 before 3.2.11 (fixed in 3.2.11) From 4.0 before 4.0.1 (fixed in 4.0.1) |