Advisory

PYSEC-2021-11

Also known as: CVE-2021-21416, GHSA-58c7-px5v-82hh

Summary

The record has no summary.

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

Severity

Not rated by the source.

Dates

Published
2021-04-01 22:15 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

django-registration

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.2 (ecosystem)

Fixed versions

3.1.2

Fix

  • Fixed version 3.1.2
    pip install --upgrade django-registration==3.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences