Advisory

GHSA-vfq6-hq5r-27r6

Also known as: CVE-2019-19844, PYSEC-2019-16

Summary

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-01-16 22:35 UTC
Modified
2024-09-20 15:24 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.11.27 (ecosystem)

Fixed versions

1.11.27

Fix

  • Fixed version 1.11.27
    pip install --upgrade django==1.11.27

django

PyPI · All systems

Affected

  • introduced 2.0, fixed 2.2.9 (ecosystem)

Fixed versions

2.2.9

Fix

  • Fixed version 2.2.9
    pip install --upgrade django==2.2.9

django

PyPI · All systems

Affected

  • introduced 3.0, fixed 3.0.1 (ecosystem)

Fixed versions

3.0.1

Fix

  • Fixed version 3.0.1
    pip install --upgrade django==3.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences