PYSEC-2021-11

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/django-registration/PYSEC-2021-11.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2021-11
Aliases
Published
2021-04-01T22:15:00Z
Modified
2023-11-08T04:04:45.212413Z
Summary
[none]
Details

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).

References

Affected packages

PyPI / django-registration

Package

Name
django-registration
View open source insights on deps.dev
Purl
pkg:pypi/django-registration

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2

Affected versions

0.*

0.5
0.6
0.7
0.8

1.*

1.0

2.*

2.0
2.0.1
2.0.2
2.0.3
2.0.4
2.1
2.1.1
2.1.2
2.2
2.3
2.4
2.4.1
2.5
2.5.1
2.5.2

3.*

3.0
3.0.1
3.1
3.1.1