Vulnerability · Published Apr 1, 2021 · Assigned by GitHub_M

CVE-2021-21416Potential sensitive information disclosed in error reports

Low 3.7

In plain English

A low-severity security flaw in django-registration from ubernostrum. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.4%top 64.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

django-registration is a user registration package for Django. The django-registration package provides tools for implementing user-account registration flows in the Django web framework. In django-registration prior to 3.1.2, the base user-account registration view did not properly apply filters to sensitive data, with the result that sensitive data could be included in error reports rather than removed automatically by Django. Triggering this requires: A site is using django-registration < 3.1.2, The site has detailed error reports (such as Django's emailed error reports to site staff/developers) enabled and a server-side error (HTTP 5xx) occurs during an attempt by a user to register an account. Under these conditions, recipients of the detailed error report will see all submitted data from the account-registration attempt, which may include the user's proposed credentials (such as a password).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-django-registration3.3-1DEBIAN-CVE-2021-21416
Debian:13python-django-registration3.3-1DEBIAN-CVE-2021-21416
Debian:14python-django-registration3.3-1DEBIAN-CVE-2021-21416
PyPIdjango-registration3.1.2GHSA-58c7-px5v-82hh
PyPIdjango-registration3.1.2PYSEC-2021-11
Ubuntu:22.04:LTSpython-django-registrationno fix listedUBUNTU-CVE-2021-21416
Ubuntu:24.04:LTSpython-django-registrationno fix listedUBUNTU-CVE-2021-21416
Ubuntu:25.10python-django-registrationno fix listedUBUNTU-CVE-2021-21416
Ubuntu:26.04:LTSpython-django-registrationno fix listedUBUNTU-CVE-2021-21416
Ubuntu:26.10python-django-registrationno fix listedUBUNTU-CVE-2021-21416

Affected products (as reported)

VendorProductVersions
ubernostrum django-registration < 3.1.2

Weakness: CWE-209 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N

References