CVE-2021-45115

NameCVE-2021-45115
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3177-1
Debian Bugs1003113

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)buster1:1.11.29-1~deb10u1vulnerable
buster (security)1:1.11.29-1+deb10u5fixed
bullseye2:2.2.26-1~deb11u1fixed
bullseye (security)2:2.2.28-1~deb11u1fixed
bookworm, sid3:3.2.16-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosourcebuster1:1.11.29-1+deb10u3DLA-3177-1
python-djangosourcebullseye2:2.2.26-1~deb11u1
python-djangosource(unstable)2:3.2.11-11003113

Notes

[stretch] - python-django <postponed> (Minor issue; fix in next update)
https://www.djangoproject.com/weblog/2022/jan/04/security-releases/
https://github.com/django/django/commit/a8b32fe13bcaed1c0b772fdc53de84abc224fb20 (3.2.11)
https://github.com/django/django/commit/2135637fdd5ce994de110affef9e67dffdf77277 (2.2.26)

Search for package or bug name: Reporting problems