Vulnerability · Published Jan 4, 2022 · Assigned by mitre

CVE-2021-45115

High 7.5

In plain English

A high-severity security flaw in the py3-django package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.6%top 14.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-django3.2.12-r0ALPINE-CVE-2021-45115
Alpine:v3.21py3-django3.2.12-r0ALPINE-CVE-2021-45115
Alpine:v3.22py3-django3.2.12-r0ALPINE-CVE-2021-45115
Alpine:v3.23py3-django3.2.12-r0ALPINE-CVE-2021-45115
Alpine:v3.24py3-django3.2.12-r0ALPINE-CVE-2021-45115
Debian:12python-django2:3.2.11-1DEBIAN-CVE-2021-45115
Debian:13python-django2:3.2.11-1DEBIAN-CVE-2021-45115
Debian:14python-django2:3.2.11-1DEBIAN-CVE-2021-45115
PyPIdjango2.2.26GHSA-53qw-q765-4fww
PyPIdjango3.2.11GHSA-53qw-q765-4fww
PyPIdjango4.0.1GHSA-53qw-q765-4fww
PyPIdjango2.2.26, 3.2.11, 4.0.1PYSEC-2022-1
Rocky Linux:8libdb0:5.3.28-42.el8_4RLSA-2022:5498

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References