Skip to content
OpenAdvisories
Low · 3.7 CVE-2021-21416 EUVD-2021-0057GHSA-58c7-px5v-82hhPYSEC-2021-11

Potential sensitive information disclosed in error reports

Published Apr 1, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
ubernostrum django-registration < 3.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django-registration 3.3-1 —
Debian 13 python-django-registration 3.3-1 —
Debian 12 python-django-registration 3.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-django-registration No fix yet —
Ubuntu 26.04 LTS python-django-registration No fix yet —
Ubuntu 25.10 python-django-registration No fix yet —
Ubuntu 24.04 LTS python-django-registration No fix yet —
Ubuntu 22.04 LTS python-django-registration No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS python-django-registration No fix yet —
Ubuntu 18.04 LTS python-django-registration No fix yet —
Ubuntu 16.04 LTS python-django-registration No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 python-django-registration 3.1.2-bp152.3.3.1 openSUSE-SU-2021:0597-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-django-registration 3.3-2.2 openSUSE-SU-2026:12007-1, openSUSE-SU-2024:14138-1
openSUSE Leap 15.2 python-django-registration 3.1.2-lp152.3.3.1 openSUSE-SU-2021:0588-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django-registration < 3.1.2 3.1.2 GHSA-58c7-px5v-82hh

Advisories 4

References