django
Affected
- introduced
2.2a1, fixed2.2.26(ecosystem)
Fixed versions
2.2.26
Fix
- Fixed version
2.2.26pip install --upgrade django==2.2.26
Advisory
Also known as: BIT-django-2021-45115, CVE-2021-45115, PYSEC-2022-1
Denial-of-service in Django
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.
High Basis: The source's own band: HIGH
2.2a1, fixed 2.2.26 (ecosystem)2.2.26
2.2.26pip install --upgrade django==2.2.263.2a1, fixed 3.2.11 (ecosystem)3.2.11
3.2.11pip install --upgrade django==3.2.114.0a1, fixed 4.0.1 (ecosystem)4.0.1
4.0.1pip install --upgrade django==4.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0