CVE-2021-21416
Django-registration Project Django-registration vulnerability
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
Django-registration. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Django-registration Project Django-registration runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ubernostrum/django-registration/security/advisories/GHSA-58c7-px5v-82hh · Mitigation
- nvd.nist.gov/vuln/detail/CVE-2021-21416
- github.com/ubernostrum/django-registration/commit/2db0bb7ec35636ea46b07b146328b87b2cb13ca5
- github.com/pypa/advisory-database/tree/main/vulns/django-registration/PYSEC-2021-11.yaml
- github.com/advisories/GHSA-58c7-px5v-82hh
- nvd.nist.gov/vuln/detail/CVE-2021-21416
- cve.org/CVERecord?id=CVE-2021-21416
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.