VDB
Sign up
—

PYSEC-2022-1

Quick fix

PYSEC-2022-1 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=2.2.26'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 2.2Fixed in: 2.2.26
Fixpip install --upgrade 'django>=2.2.26'

References