CVE-2021-45115

django: Denial-of-service possibility in UserAttributeSimilarityValidator

Published Jan 4, 2022 CVSS 3.1 · 7.5 High EPSS 2.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0085 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.
Github GHSA Github GHSA GHSA-53qw-q765-4fww Denial-of-service in Django
Ubuntu USN Ubuntu USN USN-5204-1 Django vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 4:39 AM
Reserved
Dec 16, 2021, 12:00 AM
Status
Modified
Published
Jan 5, 2022, 12:15 AM
Modified
Jun 17, 2026, 4:13 AM
Severity
Moderate
Public date
Jan 4, 2022, 12:00 AM