CVE-2021-21416
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).
How to fix CVE-2021-21416
To remediate CVE-2021-21416, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 3.1.2 or later
- —upgrade to 3.1.2 or later
Is CVE-2021-21416 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 3.1.2
- from 0, < 3.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N |