Potential sensitive information disclosed in error reports
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
django-registrationPyPI | < 3.1.2 | 3.1.2 |
Affected products
5- ghsa-coords4 versionspkg:pypi/django-registrationpkg:rpm/opensuse/python-django-registration&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/python-django-registration&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-django-registration&distro=SUSE%20Package%20Hub%2015%20SP2
< 3.1.2+ 3 more
- (no CPE)range: < 3.1.2
- (no CPE)range: < 3.1.2-lp152.3.3.1
- (no CPE)range: < 3.3-2.2
- (no CPE)range: < 3.1.2-bp152.3.3.1
- Range: < 3.1.2
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-58c7-px5v-82hhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-21416ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/django-registration/PYSEC-2021-11.yamlghsaWEB
- github.com/ubernostrum/django-registration/commit/2db0bb7ec35636ea46b07b146328b87b2cb13ca5ghsaWEB
- github.com/ubernostrum/django-registration/security/advisories/GHSA-58c7-px5v-82hhghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.