Information Exposure

Affecting django-registration package, versions [,3.1.2)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

Affected versions of this package are vulnerable to Information Exposure django-registration did not apply Django's :func:django.views.decorators.debug.sensitive_post_parametersdecorator to the basedjango_registration.views.RegistrationView`.

As such, if detailed error reports, such as `Django's error reports emailed to site staff were enabled, and a server-side error occurred during account registration, the generated error report would include all fields submitted in the HTTP request, some of which are potentially sensitive depending on the user-account model and registration workflow in use.

Remediation

Upgrade django-registration to version 3.1.2 or higher.

References

CVSS Score

3.7
low severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:R
Credit
James Bennett
CVE
CVE-2021-21416
CWE
CWE-200
Snyk ID
SNYK-PYTHON-DJANGOREGISTRATION-1090176
Disclosed
01 Apr, 2021
Published
01 Apr, 2021