{"cve":"CVE-2021-45115","nvd":{"published":"2022-01-05T00:15:07.907","modified":"2026-06-17T04:13:11.547","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":[],"references":["https://docs.djangoproject.com/en/4.0/releases/security/","https://groups.google.com/forum/#%21forum/django-announce","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/","https://security.netapp.com/advisory/ntap-20220121-0005/","https://www.djangoproject.com/weblog/2022/jan/04/security-releases/"],"products":["djangoproject:django","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-45115","score":0.02599,"percentile":0.85346,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-53qw-q765-4fww","url":"https://osv.dev/vulnerability/GHSA-53qw-q765-4fww","summary":"Denial-of-service in Django","modified":"2024-09-20T16:09:39.890846Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2a1 <2.2.26"],"fixed":["2.2.26"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2a1 <3.2.11"],"fixed":["3.2.11"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.0a1 <4.0.1"],"fixed":["4.0.1"]}]},{"id":"PYSEC-2022-1","url":"https://osv.dev/vulnerability/PYSEC-2022-1","summary":"","modified":"2023-12-06T01:01:43.028018Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.26",">=3.2 <3.2.11",">=4.0 <4.0.1"],"fixed":["2.2.26","3.2.11","4.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}