CRITICAL9.8
PYSEC-2019-16
Quick fix
PYSEC-2019-16 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=1.11.27'Details
Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover. A suitably crafted email address (that is equal to an existing user's email address after case transformation of Unicode characters) would allow an attacker to be sent a password reset token for the matched user account. (One mitigation in the new releases is to send password reset tokens only to the registered user email address.)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://groups.google.com/forum/#!topic/django-announce/3oaB2rVH3a0[WEB]
- https://www.djangoproject.com/weblog/2019/dec/18/security-releases/[ARTICLE]
- https://docs.djangoproject.com/en/dev/releases/security/[WEB]
- https://usn.ubuntu.com/4224-1/[WEB]
- https://www.debian.org/security/2020/dsa-4598[ADVISORY]
- https://seclists.org/bugtraq/2020/Jan/9[WEB]
- http://packetstormsecurity.com/files/155872/Django-Account-Hijack.html[WEB]
- https://security.netapp.com/advisory/ntap-20200110-0003/[ADVISORY]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD/[WEB]
- https://security.gentoo.org/glsa/202004-17[ADVISORY]
- https://github.com/advisories/GHSA-vfq6-hq5r-27r6[ADVISORY]