mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed CVE-2024-45231 -- Avoided server error on password reset when email sending fails.
On successful submission of a password reset request, an email is sent to the accounts known to the system. If sending this email fails (due to email backend misconfiguration, service provider outage, network issues, etc.), an attacker might exploit this by detecting which password reset requests succeed and which ones generate a 500 error response. Thanks to Thibaut Spriet for the report, and to Mariusz Felisiak, Adam Johnson, and Sarah Boyce for the reviews.
This commit is contained in:
parent
320dd27412
commit
8c35a0a903
8 changed files with 83 additions and 2 deletions
|
@ -209,6 +209,18 @@ Django development server. This logger generates an ``INFO`` message upon
|
|||
detecting a modification in a source code file and may produce ``WARNING``
|
||||
messages during filesystem inspection and event subscription processes.
|
||||
|
||||
.. _django-contrib-auth-logger:
|
||||
|
||||
``django.contrib.auth``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. versionadded:: 4.2.16
|
||||
|
||||
Log messages related to :doc:`contrib/auth`, particularly ``ERROR`` messages
|
||||
are generated when a :class:`~django.contrib.auth.forms.PasswordResetForm` is
|
||||
successfully submitted but the password reset email cannot be delivered due to
|
||||
a mail sending exception.
|
||||
|
||||
.. _django-contrib-gis-logger:
|
||||
|
||||
``django.contrib.gis``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue