CVE-2021-45115: High severity django vulnerability

Published Jan 4, 2022
·
Updated

:class:.UserAttributeSimilarityValidator incurred significant overhead evaluating submitted password that were artificially large in relative to the comparison values. On the assumption that access to user registration was unrestricted this provided a potential vector for a denial-of-service attack.

References:

https://www.djangoproject.com/weblog/2022/jan/04/security-releases/

Other sources

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

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.

MITRE

Affected Software

10 affected componentsFixes available
redhat/Django<4.0.1
4.0.1
redhat/Django<3.2.11
3.2.11
redhat/Django<2.2.26
2.2.26
pip/Django>=4.0a1<4.0.1
4.0.1
pip/Django>=3.2a1<3.2.11
3.2.11
pip/Django>=2.2a1<2.2.26
2.2.26
djangoproject Django>=2.2<2.2.26
djangoproject Django>=3.2<3.2.11
djangoproject Django>=4.0<4.0.1
Fedoraproject Fedora=35

Event History

Jan 4, 2022
CVE Published
via MITRE·11:16 PM
Data Sourced
via MITRE·11:16 PM
Description
Jan 5, 2022
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityAffected Software
Jan 12, 2022
Advisory Published
via GitHub·07:20 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-45115?

The severity of CVE-2021-45115 is high with a severity value of 7.5.

2

What versions of Django are affected by CVE-2021-45115?

Django versions 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 are affected by CVE-2021-45115.

3

What is the remedy for CVE-2021-45115?

The remedy for CVE-2021-45115 is to update Django to version 4.0.1, 3.2.11, or 2.2.26.

4

Where can I find more information about CVE-2021-45115?

You can find more information about CVE-2021-45115 on the Django website and the Red Hat Bugzilla.

5

What is the Common Weakness Enumeration (CWE) for CVE-2021-45115?

CVE-2021-45115 is associated with CWE-400 (Uncontrolled Resource Consumption).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203