CVE-2021-45115 · HIGH (CVSS 7.5)
Summary: 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.
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.
Severity
HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected packages
- PyPI django [2.2a1 – 2.2.26]
- PyPI django [3.2a1 – 3.2.11]
- PyPI django [4.0a1 – 4.0.1]
- GIT github.com/django/django [635d53a86a36cde7866b9caefeb64d809e6bfcd9 – 44e7cca62382f2535ed0f5d2842b433f0bd23a57] [b6475d7d7940f3ce575e0b0f2d83e517f899b4cf – 6e499a28ac6ec10c2f0f77b92cab49fb8f8df419] [ef62a3a68c9d558486145a42c0d71ea9a76add9e – 27a64da8213f27787ae1c48041a70f197cdcfd6f]
References
- 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://docs.djangoproject.com/en/4.0/releases/security/
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases/