Django security release issued: 2.1.2
In accordance with our security release policy, the Django team is issuing Django 2.1.2. This release addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.
CVE-2018-16984: Password hash disclosure to "view only" admin users
If an admin user has the change permission to the user model, only part of the password hash is displayed in the change form. Admin users with the view (but not change) permission to the user model were displayed the entire hash. While it's typically infeasible to reverse a strong password hash, if your site uses weaker password hashing algorithms such as MD5 or SHA1, it could be a problem.
Thanks Phithon Gong for reporting this issue.
Affected versions
- Django master development branch
- Django 2.1
Resolution
Patches to resolve the issue have been applied to Django's master branch and the 2.1 release branche. The patches may be obtained from the following changesets:
- On the master branch
- On the 2.1 release branch
The following release has been issued:
- Django 2.1.2 (download Django 2.1.2 | 2.1.2 checksums)
The PGP key ID used for these releases is Carlton Gibson: E17DF5C82B4F9D00.
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.