cve.bz

CVE-2021-45115

7.5 highEPSS 2.6%

High (7.5). EPSS 2.6% chance of exploitation in the next 30 days. Fixed in django 2.2.26, 3.2.11, 4.0.1.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.6% chance of exploitation in the next 30 days; higher than 85% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-53qw-q765-4fwwPyPIdjango>=2.2a1 <2.2.262.2.26
GHSA-53qw-q765-4fwwPyPIdjango>=3.2a1 <3.2.113.2.11
GHSA-53qw-q765-4fwwPyPIdjango>=4.0a1 <4.0.14.0.1
PYSEC-2022-1PyPIdjango>=2.2 <2.2.26
>=3.2 <3.2.11
>=4.0 <4.0.1
2.2.26, 3.2.11, 4.0.1

References

Check your stackJSON