CVE-2021-21416 json
Potential sensitive information disclosed in error reports
published 2021-04-01 5 y ago modified 2026-07-08 4 mo ago also GHSA-58c7-px5v-82hh , PYSEC-2021-11 , EUVD-2021-0057
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
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).
Patch / fix
- pypi django-registration 3.1.2
- django-registration_project django-registration 3.1.2
- python-django-registration Debian 14, Debian 13, Debian 12 3.3-1
debian advisories DEBIAN-CVE-2021-21416
- python-django-registration openSUSE Tumbleweed 5.2.1-1.3
- python-django-registration openSUSE Tumbleweed 3.3-2.2
- python-django-registration Package Hub 15 SP2 3.1.2-bp152.3.3.1
- python-django-registration openSUSE Leap 15.2 3.1.2-lp152.3.3.1
opensuse advisories openSUSE-SU-2026:12007-1openSUSE-SU-2024:14138-1openSUSE-SU-2021:0597-1openSUSE-SU-2021:0588-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-21416 updated cvss 3.7
python-django-registration: potential sensitive information disclosed in error reports
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 2.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django-registration | <3.1.2 |
3.1.2 |
Affected products
- ubernostrum django-registration
Classification
References
-
github.com
/ubernostrum/django-registration/commit/2db0bb7ec35636ea46b07b146328b87b2cb13ca5
web
-
github.com
/ubernostrum/django-registration/security/advisories/GHSA-58c7-px5v-82hh
web, mitigation, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21416
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/django-registration/PYSEC-2021-11.yaml
web
-
github.com
/ubernostrum/django-registration
package
Sources
- CVE List CVE-2021-21416
- GitHub Advisory GHSA-58c7-px5v-82hh
- NVD CVE-2021-21416
- OSV PYSEC-2021-11
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.