{"id":"CVE-2021-45115","published":"2022-01-04T23:16:00Z","modified":"2024-08-04T04:39:20Z","title":"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","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02599,"percentile":0.85718,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/forum/#%21forum/django-announce","tags":["x_refsource_MISC"]},{"url":"https://docs.djangoproject.com/en/4.0/releases/security/","tags":["x_refsource_MISC"]},{"url":"https://www.djangoproject.com/weblog/2022/jan/04/security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20220121-0005/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":17.14}]},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=2.2a1, <2.2.26",">=3.2a1, <3.2.11",">=4.0a1, <4.0.1",">=2.2, <2.2.26",">=3.2, <3.2.11",">=4.0, <4.0.1"],"patched":["2.2.26","3.2.11","4.0.1"],"from":["GHSA-53qw-q765-4fww","PYSEC-2022-1"],"provenance":"source"}],"summary":{"text":"The flaw lies in the UserAttributeSimilarityValidator component of Django, in versions 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. An attacker who can reach user registration without restriction can submit an artificially large password, which causes the validator to incur significant processing overhead, enabling a denial-of-service attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:42Z"},"euvd":{"id":"EUVD-2022-0085","exploited":false,"provenance":"source"}}