ADVISORIES

GitHub Advisory Database

GHSA-vfq6-hq5r-27r6

Django Potential account hijack via password reset form

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

Affected packages

EcosystemPackageAffected versions
PyPIdjango
All versions before 1.11.27 (fixed in 1.11.27)
PyPIdjango
From 2.0 before 2.2.9 (fixed in 2.2.9)
PyPIdjango
From 3.0 before 3.0.1 (fixed in 3.0.1)

References