Vulnerability advisory
CVE-2021-45115
Also known as BIT-django-2021-45115GHSA-53qw-q765-4fwwPYSEC-2022-1
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| 2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 to before 44e7cca62382f2535ed0f5d2842b433f0bd23a57 | 44e7cca62382f2535ed0f5d2842b433f0bd23a57 |
| 3591e1c1acbd7c13174275367c3fdf012cb0413b to before 6e499a28ac6ec10c2f0f77b92cab49fb8f8df419 | 6e499a28ac6ec10c2f0f77b92cab49fb8f8df419 |
| ef62a3a68c9d558486145a42c0d71ea9a76add9e to before 27a64da8213f27787ae1c48041a70f197cdcfd6f | 27a64da8213f27787ae1c48041a70f197cdcfd6f |
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.
References
- Webgroups.google.com/forum/#%21forum/django-announce ↗
- Weblists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ ↗
- Advisorysecurity.netapp.com/advisory/ntap-20220121-0005/ ↗
- Fixdocs.djangoproject.com/en/4.0/releases/security/ ↗
- Fixwww.djangoproject.com/weblog/2022/jan/04/security-releases/ ↗