Potential sensitive information disclosed in error reports
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-209.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ubernostrum | django-registration | before 3.1.2 | 3.1.2 | Patch available | CNA |
| — | django-registration (PyPI) | before 3.1.2 | 3.1.2 | Patch available | GHSA-58c7-px5v-82hh |
- django-registration Vendorubernostrum Affected before 3.1.2 Fixed in 3.1.2 Patch available CNA
- django-registration (PyPI) Vendor— Affected before 3.1.2 Fixed in 3.1.2 Patch available GHSA-58c7-px5v-82hh
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:django-registration_project:django-registration:*:*:*:*:*:django:*:* | before 3.1.2 | Vulnerable | Django-registration Project |
- cpe:2.3:a:django-registration_project:django-registration:*:*:*:*:*:django:*:* Versions before 3.1.2 Vulnerable ·Django-registration Project
Remediation
- Fix · CNA django-registration (ubernostrum) Fixed in 3.1.2
- Fix · GHSA-58c7-px5v-82hh django-registration (PyPI) Fixed in 3.1.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21416
- 2026-10-03 Alias added: GHSA-58c7-px5v-82hh
References
Advisory 2
Sources
- CVE-2021-21416 · CVE Program
- CVE-2021-21416 · NVD
- FIRST EPSS
- GHSA-58c7-px5v-82hh · GitHub Advisory Database · CC BY 4.0
- CVE-2021-21416 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences