Feed
7.5HIGH
CVE-2021-45115Denial-of-service in Django
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.2% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.2%
- percentile 83%
- Fix
- Named by a source
- CVE published 5 Jan 2022
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.2% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 2.2.26 / 3.2.11 / 4.0.1 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/2135637fdd5ce994de110affef9e67dffdf77277
- Commit / pull request: https://github.com/django/django/commit/a8b32fe13bcaed1c0b772fdc53de84abc224fb20
- Commit / pull request: https://github.com/django/django/commit/df79ef03ac867c93caaa6be56bc69e66abfeef8f
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 2.2a1, < 2.2.26Fixed in2.2.26OSV (GHSA-53qw-q765-4fww)
- Affected>= 3.2a1, < 3.2.11Fixed in3.2.11OSV (GHSA-53qw-q765-4fww)
- Affected>= 4.0a1, < 4.0.1Fixed in4.0.1OSV (GHSA-53qw-q765-4fww)
- Affected>= 2.2, < 2.2.26Fixed in2.2.26OSV (PYSEC-2022-1)
- Affected>= 3.2, < 3.2.11Fixed in3.2.11OSV (PYSEC-2022-1)
- Affected>= 4.0, < 4.0.1Fixed in4.0.1OSV (PYSEC-2022-1)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-53qw-q765-4fww)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-400
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-45115
- commit / pull requesthttps://github.com/django/django/commit/2135637fdd5ce994de110affef9e67dffdf77277
- commit / pull requesthttps://github.com/django/django/commit/a8b32fe13bcaed1c0b772fdc53de84abc224fb20
- commit / pull requesthttps://github.com/django/django/commit/df79ef03ac867c93caaa6be56bc69e66abfeef8f
- otherhttps://docs.djangoproject.com/en/4.0/releases/security
- advisoryhttps://github.com/advisories/GHSA-53qw-q765-4fww
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-1.yaml
- otherhttps://groups.google.com/forum/#!forum/django-announce
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
- otherhttps://security.netapp.com/advisory/ntap-20220121-0005
- otherhttps://www.djangoproject.com/weblog/2022/jan/04/security-releases
- otherhttps://docs.djangoproject.com/en/4.0/releases/security/
- otherhttps://www.djangoproject.com/weblog/2022/jan/04/security-releases/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-53qw-q765-4fww (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2022-1 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 40 min ago · osv 40 min ago · nvd 40 min ago · epss 40 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2021-45115, GHSA-53qw-q765-4fww, PYSEC-2022-1