{"id":"CVE-2021-45115","aliases":["BIT-django-2021-45115","GHSA-53qw-q765-4fww","PYSEC-2022-1"],"url":"https://o3.security/vulnerability/CVE-2021-45115","summary":"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.","published":"2022-01-05T00:15:07.907Z","modified":"2026-07-15T10:14:43.773334041Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"2.2.26"},{"ecosystem":"PyPI","name":"django","fixedVersion":"3.2.11"},{"ecosystem":"PyPI","name":"django","fixedVersion":"4.0.1"}],"fix":null,"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220121-0005/"},{"type":"FIX","url":"https://docs.djangoproject.com/en/4.0/releases/security/"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2022/jan/04/security-releases/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T10:14:43.773334041Z"}}