CVE-2021-21416

LOWCVSS 2.6/10EPSS 0.41%

Last modified

CVE-2021-21416 is a low-severity vulnerability rated 2.6/10 on the CVSS scale. 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. EPSS estimates a 0.41% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
2.6/10

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

EPSS Probability
0.41%

32.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Django-Registration ProjectDjango-Registration< 3.1.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-21416?
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 severe is CVE-2021-21416?
CVE-2021-21416 has a CVSS score of 2.6/10 (LOW severity). The EPSS model estimates a 0.41% probability of exploitation in the next 30 days.
How do I fix CVE-2021-21416?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-21416?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST