CVE-2021-21416 Potential sensitive information disclosed in error reports
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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).
Upgrade path
14 packages: 5 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/python-django-registration(Ubuntu 16.04) | = 1.0+dfsg-2; = 2.0.4-1; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 18.04) | = 2.2-1; = 2.2-2; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 20.04) | = 2.2-2; = 2.2-3; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 22.04) | = 2.2-5; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 24.04) | = 3.3-1; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 25.10) | = 3.3-1; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 26.04) | = 3.3-1; = 3.3-1build1; All versions | No fix listed | No fix yet |
| ubuntu/python-django-registration(Ubuntu 26.10) | = 3.3-1build1; All versions | No fix listed | No fix yet |
| debian/python-django-registration(Debian 12) | < 3.3-1 | 3.3-1 | Fixed |
| debian/python-django-registration(Debian 13) | < 3.3-1 | 3.3-1 | Fixed |
| debian/python-django-registration(Debian 14) | < 3.3-1 | 3.3-1 | Fixed |
| django-registration project django-registration | < 3.1.2 | 3.1.2 | Fixed |
| pypi django-registration(PyPI) | < 3.1.2; = 0.5; = 0.6; = 0.7 +21 more | 3.1.2 | Fixed |
| ubernostrum django-registration | = < 3.1.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django-registration(PyPI) | < 3.1.2 | 3.1.2 |
| pypi django-registration(PyPI) | = 0.5 | No fix listed |
| pypi django-registration(PyPI) | = 0.6 | No fix listed |
| pypi django-registration(PyPI) | = 0.7 | No fix listed |
| pypi django-registration(PyPI) | = 0.8 | No fix listed |
| pypi django-registration(PyPI) | = 1.0 | No fix listed |
| pypi django-registration(PyPI) | = 2.0 | No fix listed |
| pypi django-registration(PyPI) | = 2.0.1 | No fix listed |
| pypi django-registration(PyPI) | = 2.0.2 | No fix listed |
| pypi django-registration(PyPI) | = 2.0.3 | No fix listed |
| pypi django-registration(PyPI) | = 2.0.4 | No fix listed |
| pypi django-registration(PyPI) | = 2.1 | No fix listed |
| pypi django-registration(PyPI) | = 2.1.1 | No fix listed |
| pypi django-registration(PyPI) | = 2.1.2 | No fix listed |
| pypi django-registration(PyPI) | = 2.2 | No fix listed |
| pypi django-registration(PyPI) | = 2.3 | No fix listed |
| pypi django-registration(PyPI) | = 2.4 | No fix listed |
| pypi django-registration(PyPI) | = 2.4.1 | No fix listed |
| pypi django-registration(PyPI) | = 2.5 | No fix listed |
| pypi django-registration(PyPI) | = 2.5.1 | No fix listed |
| pypi django-registration(PyPI) | = 2.5.2 | No fix listed |
| pypi django-registration(PyPI) | = 3.0 | No fix listed |
| pypi django-registration(PyPI) | = 3.0.1 | No fix listed |
| pypi django-registration(PyPI) | = 3.1 | No fix listed |
| pypi django-registration(PyPI) | = 3.1.1 | No fix listed |
Show 25 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python-django-registration(Debian:12) | < 3.3-1 | 3.3-1 |
| debian/python-django-registration(Debian:13) | < 3.3-1 | 3.3-1 |
| debian/python-django-registration(Debian:14) | < 3.3-1 | 3.3-1 |
| ubuntu/python-django-registration(Ubuntu:22.04) | All versions | No fix listed |
| django-registration project django-registration | < 3.1.2 | 3.1.2 |
| ubuntu/python-django-registration(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-django-registration(Ubuntu:26.04) | All versions | No fix listed |
| ubernostrum django-registration | = < 3.1.2 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/python-django-registration(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/python-django-registration(Ubuntu:16.04) | = 1.0+dfsg-2 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:16.04) | = 2.0.4-1 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/python-django-registration(Ubuntu:18.04) | = 2.2-1 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:18.04) | = 2.2-2 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/python-django-registration(Ubuntu:20.04) | = 2.2-2 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:20.04) | = 2.2-3 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:22.04) | = 2.2-5 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:24.04) | = 3.3-1 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/python-django-registration(Ubuntu:25.10) | = 3.3-1 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:26.10) | = 3.3-1build1 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:26.04) | = 3.3-1 | No fix listed |
| ubuntu/python-django-registration(Ubuntu:26.04) | = 3.3-1build1 | No fix listed |
References
- github.com issue-tracking mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product
- github.com
- Debian Security Tracker CVE-2021-21416 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking