In accordance with our security release policy, the Django team is issuing Django 3.0.1, Django 2.2.9 and Django 1.11.27. These release addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
CVE-2019-19844: Potential account hijack via password reset form
By submitting a suitably crafted email address making use of Unicode characters, that compared equal to an existing user email when lower-cased for comparison, an attacker could be sent a password reset token for the matched account.
In order to avoid this vulnerability, password reset requests now compare the submitted email using the stricter, recommended algorithm for case-insensitive comparison of two identifiers from Unicode Technical Report 36, section 2.11.2(B)(2). Upon a match, the email containing the reset token will be sent to the email address on record rather than the submitted address.
Affected supported versions
- Django master branch
- Django 3.0
- Django 2.2
- Django 2.1
Resolution
Patches to resolve the issue have been applied to Django's master branch and the 3.0, 2.2, and 1.11 release branches. The patches may be obtained from the following changesets:
- On the master branch
- On the 3.0 release branch
- On the 2.2 release branch
- On the 1.11 release branch
The following releases have been issued:
- Django 3.0.1 (download Django 3.0.1 | 3.0.1 checksums)
- Django 2.2.9 (download Django 2.2.9 | 2.2.9 checksums)
- Django 1.11.27 (download Django 1.11.27 | 1.11.27 checksums)
The PGP key ID used for these releases is Mariusz Felisiak: 2EF56372BA48CD1B.
General notes regarding security reporting
As always, we ask that potential security issues be reported via private email to security@djangoproject.com, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.
This issue was known publicly, therefore we fixed the issue as soon as possible without the usual prenotification process.
from Planet Python
via read more
No comments:
Post a Comment