Skip to main content
← All vulnerabilities
CVE-2021-45115GHSA-53QW-Q765-4FWWBIT-DJANGO-2021-45115PYSEC-2022-1

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.26, 3.2.11, 4.0.1
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • djangoPyPI

    From 2.2a1 · fixed in 2.2.26

  • djangoPyPI

    From 3.2a1 · fixed in 3.2.11

  • djangoPyPI

    From 4.0a1 · fixed in 4.0.1

  • djangoPyPI

    From 2.2 · fixed in 2.2.26; From 3.2 · fixed in 3.2.11; From 4.0 · fixed in 4.0.1

References 5

groups.google.com

docs.djangoproject.com

djangoproject.com

security.netapp.com

lists.fedoraproject.org