CVE-2021-45115
Aliases:GHSA-53qw-q765-4fwwBIT-django-2021-45115PYSEC-2022-1
Advisory lineage Upstream: 0 Downstream: 13
Modified
Published: 04 Jan 2022, 23:16
Last modified:04 Aug 2024, 04:39
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.41% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
04 Jan 2022, 23:16
Published
Vulnerability first disclosed
04 Aug 2024, 04:39
Last Modified
Vulnerability information updated
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 Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.41%• Percentile: 62%
Affected Systems
- djangoproject•django
≥ 2.2, < 2.2.26 | ≥ 3.2, < 3.2.11 | ≥ 4.0, < 4.0.1
- fedoraproject•fedora
35
- PyPI•django
≥ 2.2a1, < 2.2.26 | ≥ 3.2a1, < 3.2.11 | ≥ 4.0a1, < 4.0.1 | ≥ 4.0, < 4.0.1
References (17)
- https://groups.google.com/forum/#%21forum/django-announce
- https://docs.djangoproject.com/en/4.0/releases/security/
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases/
- https://security.netapp.com/advisory/ntap-20220121-0005/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://nvd.nist.gov/vuln/detail/CVE-2021-45115
- https://github.com/django/django/commit/2135637fdd5ce994de110affef9e67dffdf77277
- https://github.com/django/django/commit/a8b32fe13bcaed1c0b772fdc53de84abc224fb20
- https://github.com/django/django/commit/df79ef03ac867c93caaa6be56bc69e66abfeef8f
- https://docs.djangoproject.com/en/4.0/releases/security
- https://github.com/advisories/GHSA-53qw-q765-4fww
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-1.yaml
- https://groups.google.com/forum/#!forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- https://security.netapp.com/advisory/ntap-20220121-0005
- https://www.djangoproject.com/weblog/2022/jan/04/security-releases