CVE-2019-19844
Django: crafted email address allows account takeover
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat. Rated lower by Ubuntu (high).
Description
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | django | 1.11.27, 2.2.9, 3.0.1 |
| Red Hat | calamari-server, python-django, python-django-bash-completion and 4 more | no fix listed |
| alpine 3.10 | py-django | 1.11.27-r0 |
| alpine 3.11 | py3-django | 1.11.27-r0 |
| alpine 3.12 | py3-django | 1.11.27-r0 |
| alpine 3.13 | py3-django | 1.11.27-r0 |
| alpine 3.14 | py3-django | 1.11.27-r0 |
| alpine 3.15 | py3-django | 1.11.27-r0 |
| alpine 3.16 | py3-django | 1.11.27-r0 |
| alpine 3.17 | py3-django | 1.11.27-r0 |
| alpine 3.18 | py3-django | 1.11.27-r0 |
| alpine 3.19 | py3-django | 1.11.27-r0 |
Show all 47 entries from 41 sources
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | django | 1.11.27, 2.2.9, 3.0.1 |
| Red Hat | calamari-server | no fix listed |
| Red Hat | python-django | no fix listed |
| Red Hat | python-django-bash-completion | no fix listed |
| Red Hat | python-django-doc | no fix listed |
| Red Hat | python2-django | no fix listed |
| Red Hat | python2-django-doc | no fix listed |
| Red Hat | python3-django | no fix listed |
| alpine 3.10 | py-django | 1.11.27-r0 |
| alpine 3.11 | py3-django | 1.11.27-r0 |
| alpine 3.12 | py3-django | 1.11.27-r0 |
| alpine 3.13 | py3-django | 1.11.27-r0 |
| alpine 3.14 | py3-django | 1.11.27-r0 |
| alpine 3.15 | py3-django | 1.11.27-r0 |
| alpine 3.16 | py3-django | 1.11.27-r0 |
| alpine 3.17 | py3-django | 1.11.27-r0 |
| alpine 3.18 | py3-django | 1.11.27-r0 |
| alpine 3.19 | py3-django | 1.11.27-r0 |
| alpine 3.20 | py3-django | 1.11.27-r0 |
| alpine 3.21 | py3-django | 1.11.27-r0 |
| alpine 3.22 | py3-django | 1.11.27-r0 |
| alpine 3.23 | py3-django | 1.11.27-r0 |
| alpine 3.24 | py3-django | 1.11.27-r0 |
| alpine 3.8 | py-django | 1.11.27-r0 |
| alpine 3.9 | py-django | 1.11.27-r0 |
| alpine edge | py3-django | 1.11.27-r0 |
| debian 10 | python-django | 1:1.11.27-1~deb10u1 |
| debian 11 | python-django | 2:2.2.9-1 |
| debian 12 | python-django | 2:2.2.9-1 |
| debian 13 | python-django | 2:2.2.9-1 |
| debian 14 | python-django | 2:2.2.9-1 |
| debian 8 | python-django | 1.7.11-1+deb8u8 |
| debian 9 | python-django | 1:1.10.7-2+deb9u7 |
| echo | python-django | 2:2.2.9-1 |
| ubuntu 14.04-ESM | python-django | 1.6.11-0ubuntu1.3+esm7 |
| ubuntu 16.04 | python-django | 1.8.7-1ubuntu5.11 |
| ubuntu 16.04-ESM | python-django | 1.8.7-1ubuntu5.11 |
| ubuntu 18.04 | python-django | 1:1.11.11-1ubuntu1.6 |
| ubuntu 18.04-ESM | python-django | 1:1.11.11-1ubuntu1.6 |
| ubuntu 19.04 | python-django | 1:1.11.20-1ubuntu0.3 |
| ubuntu 19.10 | python-django | 1:1.11.22-1ubuntu1.1 |
| ubuntu 20.04 | python-django | 2:2.2.9-2ubuntu1 |
| ubuntu 20.04-ESM | python-django | 2:2.2.9-2ubuntu1 |
| ubuntu 22.04 | python-django | 2:2.2.9-2ubuntu1 |
| ubuntu 22.10 | python-django | 2:2.2.9-2ubuntu1 |
| ubuntu 23.04 | python-django | 2:2.2.9-2ubuntu1 |
| ubuntu 23.10 | python-django | 2:2.2.9-2ubuntu1 |
References
- http://packetstormsecurity.com/files/155872/Django-Account-Hijack.html
- https://access.redhat.com/security/cve/CVE-2019-19844
- https://docs.djangoproject.com/en/dev/releases/security
- https://docs.djangoproject.com/en/dev/releases/security/
- https://github.com/advisories/GHSA-vfq6-hq5r-27r6
- https://github.com/django/django
- https://github.com/django/django/commit/302a4ff1e8b1c798aab97673909c7a3dfda42c26
- https://github.com/django/django/commit/4d334bea06cac63dc1272abcec545b85136cca0e
All 28 references
- https://github.com/django/django/commit/5b1fbcef7a8bec991ebe7b2a18b5d5a95d72cb70
- https://github.com/django/django/commit/f4cff43bf921fcea6a29b726eb66767f67753fa2
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-16.yaml
- https://groups.google.com/forum/#!topic/django-announce/3oaB2rVH3a0
- https://groups.google.com/forum/#%21topic/django-announce/3oaB2rVH3a0
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HCM2DPUI7TOZWN4A6JFQFUVQ2XGE7GUD/
- https://nvd.nist.gov/vuln/detail/CVE-2019-19844
- https://seclists.org/bugtraq/2020/Jan/9
- https://security.gentoo.org/glsa/202004-17
- https://security.netapp.com/advisory/ntap-20200110-0003
- https://security.netapp.com/advisory/ntap-20200110-0003/
- https://ubuntu.com/security/notices/USN-4224-1
- https://ubuntu.com/security/notices/USN-6722-1
- https://usn.ubuntu.com/4224-1
- https://usn.ubuntu.com/4224-1/
- https://www.cve.org/CVERecord?id=CVE-2019-19844
- https://www.debian.org/security/2020/dsa-4598
- https://www.djangoproject.com/weblog/2019/dec/18/security-releases
- https://www.djangoproject.com/weblog/2019/dec/18/security-releases/