Information Exposure Affecting django-registration package, versions [,3.1.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGOREGISTRATION-1090176
  • published1 Apr 2021
  • disclosed1 Apr 2021
  • creditJames Bennett

Introduced: 1 Apr 2021

CVE-2021-21416  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade django-registration to version 3.1.2 or higher.

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.

References

CVSS Scores

version 3.1