ADVISORIES

GitHub Advisory Database

GHSA-53qw-q765-4fww

Denial-of-service in Django

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

EcosystemPackageAffected versions
PyPIdjango
From 2.2a1 before 2.2.26 (fixed in 2.2.26)
PyPIdjango
From 3.2a1 before 3.2.11 (fixed in 3.2.11)
PyPIdjango
From 4.0a1 before 4.0.1 (fixed in 4.0.1)

References