CVE-2021-21416
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).
EPSS 0.19% · 40.6th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:24.04:LTS | python-django-registration | 0, 3.3-1 |
| Ubuntu:18.04:LTS | python-django-registration | 2.2-2, 0, 2.2-1 |
| Ubuntu:16.04:LTS | python-django-registration | 1.0+dfsg-2, 0, 2.0.4-1 |
| Ubuntu:22.04:LTS | python-django-registration | 0, 2.2-5 |
| Ubuntu:20.04:LTS | python-django-registration | 2.2-3, 0, 2.2-2 |
| Ubuntu:25.10 | python-django-registration | 0, 3.3-1 |
Exploit Intelligence
Timeline
- Apr 1, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-21416 third-party-advisory
- https://github.com/ubernostrum/django-registration/security/advisories/GHSA-58c7-px5v-82hh third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-21416 third-party-advisory