python-django — security advisory
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.
- Products
- python-django
- Affected versions
- Not specified
- Fixed versions
- 2:3.2.11-1
- CVEs
- CVE-2021-45115
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 01:00 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-45115
python-django
Fixed versions: 2:3.2.11-1
python-django
Fixed versions: 2:3.2.11-1
python-django
Fixed versions: 2:3.2.11-1
Complete source record
{
"id": "38136159cbe2b5a3496a8477e5c138c38f82edeb82b9da327d2216b1704855fc",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-45115",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-45115",
"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.",
"evidence": "osv:DEBIAN-CVE-2021-45115",
"products": [
{
"name": {
"value": "python-django",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:3.2.11-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-django",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:3.2.11-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-django",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:3.2.11-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-45115",
"aliases": [
"DEBIAN-CVE-2021-45115"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.2.11-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45115.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.2.11-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45115.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:3.2.11-1"
}
]
}
],
"package": {
"name": "python-django",
"purl": "pkg:deb/debian/python-django?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-45115.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:04:00.882457376Z",
"provider": "osv",
"upstream": [
"CVE-2021-45115"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-45115"
]
},
"related_cves": [
{
"value": "CVE-2021-45115",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422946,
"published_at": "2022-01-05T00:15:07.907+00:00"
}