Vulnerability Name:

CVE-2021-45115 (CCN-216622)

Assigned:2021-12-16
Published:2022-01-04
Updated:2022-07-12
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. 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 v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-Other
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-45115

Source: MISC
Type: Patch, Vendor Advisory
https://docs.djangoproject.com/en/4.0/releases/security/

Source: XF
Type: UNKNOWN
django-cve202145115-dos(216622)

Source: MISC
Type: Third Party Advisory
https://groups.google.com/forum/#!forum/django-announce

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-e7fd530688

Source: CCN
Type: oss-sec Mailing List, Tue, 4 Jan 2022 11:06:35 +0100
Django security releases issued: 4.0.1, 3.2.11, and 2.2.26 (Multiple CVEs)

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20220121-0005/

Source: CCN
Type: Django Web site
Django security releases issued: 4.0.1, 3.2.11, and 2.2.26

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2022/jan/04/security-releases/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 2.2 and < 2.2.26)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 3.2 and < 3.2.11)
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version >= 4.0 and < 4.0.1)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:djangoproject:django:2.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:3.2:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:113242
    P
    python310-Django-4.0.1-1.1 on GA media (Moderate)
    2022-01-17
    BACK
    djangoproject django *
    djangoproject django *
    djangoproject django *
    fedoraproject fedora 35
    djangoproject django 2.2
    djangoproject django 3.2 -