VDB
CVE-2021-45115
CVE-2021-45115
PUBLISHED
CVSS 7.5 HIGH
Denial-of-service in Django
Reported by mitre · Published January 4, 2022
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.
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | py3-django | 0 |
| PyPI | Django | 2.2a1, 3.2a1, 4.0a1 |
Timeline
- Jan 4, 2022 CVE Published
- Jan 5, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (2 in total, the first dated here)
- Jul 16, 2026 Coalition ESS Score
- Oct 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-45115
vulnetix vdb fixes CVE-2021-45115
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-45115/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- FEDORA-2022-e7fd530688 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2021-45115 advisory
- https://github.com/advisories/GHSA-53qw-q765-4fww advisory
- https://github.com/django/django/commit/2135637fdd5ce994de110affef9e67dffdf77277 patch
- https://github.com/django/django/commit/a8b32fe13bcaed1c0b772fdc53de84abc224fb20 patch
- https://github.com/django/django/commit/df79ef03ac867c93caaa6be56bc69e66abfeef8f patch
- https://docs.djangoproject.com/en/4.0/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-1.yaml advisory
- https://groups.google.com/forum/#!forum/django-announce url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV url
- https://security.netapp.com/advisory/ntap-20220121-0005 advisory
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases url