High severityNVD Advisory· Published Jan 4, 2022· Updated Aug 4, 2024
CVE-2021-45115
CVE-2021-45115
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
DjangoPyPI | >= 2.2a1, < 2.2.26 | 2.2.26 |
DjangoPyPI | >= 3.2a1, < 3.2.11 | 3.2.11 |
DjangoPyPI | >= 4.0a1, < 4.0.1 | 4.0.1 |
Affected products
13- Django/Djangodescription
- osv-coords12 versionspkg:bitnami/djangopkg:pypi/djangopkg:rpm/opensuse/python-Django4&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django6&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/python-Django&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-Django1&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/python-Django1&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/python-Django&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/python-Django&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/python-Django&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/python-Django&distro=SUSE%20Package%20Hub%2015%20SP3
>= 2.2.0, < 2.2.26+ 11 more
- (no CPE)range: >= 2.2.0, < 2.2.26
- (no CPE)range: >= 2.2a1, < 2.2.26
- (no CPE)range: < 4.2.14-1.1
- (no CPE)range: < 6.0-1.1
- (no CPE)range: < 2.2.28-bp153.2.3.1
- (no CPE)range: < 4.0.1-1.1
- (no CPE)range: < 1.11.29-3.30.1
- (no CPE)range: < 1.11.29-3.30.1
- (no CPE)range: < 1.11.29-3.33.1
- (no CPE)range: < 1.11.29-3.33.1
- (no CPE)range: < 1.11.29-3.33.1
- (no CPE)range: < 2.2.28-bp153.2.3.1
Patches
Vulnerability mechanics
References
16- github.com/advisories/GHSA-53qw-q765-4fwwghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/mitrevendor-advisoryx_refsource_FEDORA
- nvd.nist.gov/vuln/detail/CVE-2021-45115ghsaADVISORY
- docs.djangoproject.com/en/4.0/releases/securityghsaWEB
- docs.djangoproject.com/en/4.0/releases/security/mitrex_refsource_MISC
- github.com/django/django/commit/2135637fdd5ce994de110affef9e67dffdf77277ghsaWEB
- github.com/django/django/commit/a8b32fe13bcaed1c0b772fdc53de84abc224fb20ghsaWEB
- github.com/django/django/commit/df79ef03ac867c93caaa6be56bc69e66abfeef8fghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-1.yamlghsaWEB
- groups.google.com/forum/ghsaWEB
- groups.google.com/forum/mitrex_refsource_MISC
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDVghsaWEB
- security.netapp.com/advisory/ntap-20220121-0005ghsaWEB
- security.netapp.com/advisory/ntap-20220121-0005/mitrex_refsource_CONFIRM
- www.djangoproject.com/weblog/2022/jan/04/security-releasesghsaWEB
- www.djangoproject.com/weblog/2022/jan/04/security-releases/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.