{"answers":{"affected":"7 open source packages ship an affected version, including django and Django. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-19844 exists.","fix":"Upgrade django to a fixed version for your release line: 1.11.27, 2.2.9 or 3.0.1.","what":"CVE-2019-19844 is a critical authentication bypass vulnerability in Canonical Ubuntu Linux, published on 18 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-19844 and fix it if it is affected.\n\nWhat it is: CVE-2019-19844 is a critical authentication bypass vulnerability in Canonical Ubuntu Linux, published on 18 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-19844 exists.\n\nAffected packages and fixed versions:\n- django (PyPI): affected all versions; fixed in 1.11.27, 2.2.9\n- django (PyPI): affected all versions; fixed in 1.11.27\n- django (PyPI): affected from 2.0; fixed in 2.2.9\n- django (PyPI): affected from 3.0; fixed in 3.0.1\n- Django (PyPI): affected all versions; fixed in 1.11.27\n- Django (PyPI): affected from 2.0; fixed in 2.2.9\n- Django (PyPI): affected from 3.0; fixed in 3.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-19844/ (Markdown: https://insights.sbomify.com/CVE-2019-19844/index.md)","id":"CVE-2019-19844","markdown":"https://insights.sbomify.com/CVE-2019-19844/index.md","name":"CVE-2019-19844","record":{"aliases":["ALPINE-CVE-2019-19844","DEBIAN-CVE-2019-19844","DLA-2042-1","DSA-4598-1","GHSA-vfq6-hq5r-27r6","PYSEC-2019-16","UBUNTU-CVE-2019-19844","USN-4224-1","USN-6722-1","openSUSE-SU-2024:11224-1","openSUSE-SU-2024:14065-1","openSUSE-SU-2026:11570-1"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Django web framework","requires_auth":"none","summary":"Attackers can take over user accounts by exploiting Unicode case transformations in email addresses during password reset requests.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"django","vendor":"djangoproject"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"}],"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.)","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":1,"first_seen":"2019-12-21","github_poc":3,"max_poc_stars":100,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-12-21T04:30:34Z","kind":"github_poc","ref":"https://github.com/ryu22e/django_cve_2019_19844_poc","stars":100,"title":"PoC for CVE-2019-19844(https://www.djangoproject.com/weblog/2019/dec/18/security-releases/)"},{"date":"2019-12-25T10:05:48Z","kind":"github_poc","ref":"https://github.com/andripwn/django_cve201919844","stars":8,"title":"PoC for CVE-2019-19844 ( https://www.djangoproject.com/weblog/2019/dec/18/security-releases/ )"},{"date":"2020-01-18T13:32:21Z","kind":"github_poc","ref":"https://github.com/0xsha/CVE_2019_19844","stars":4,"title":"CVE-2019-19844 Docker Edition"},{"date":"2019-12-24","kind":"exploitdb","ref":"47879","stars":null,"title":"Django \u003c 3.0 \u003c 2.2 \u003c 1.11 - Account Hijack"}],"tier":"weaponised"},"has_fix":true,"headline":"Django Potential account hijack via password reset form","id":"CVE-2019-19844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","djangoproject:django"],"type":"auth_bypass","year":"2019"},"n_packages":9,"n_references":10,"next":{"headline":"Path traversal in n/a","id":"CVE-2019-19845"},"packages":[{"ecosystem":"PyPI","fixed":["1.11.27"],"introduced":["0"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-vfq6-hq5r-27r6"},{"ecosystem":"PyPI","fixed":["2.2.9"],"introduced":["2.0"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-vfq6-hq5r-27r6"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["3.0"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-vfq6-hq5r-27r6"},{"ecosystem":"PyPI","fixed":["1.11.27","2.2.9"],"introduced":["0","2.2"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"PYSEC-2019-16"},{"ecosystem":"PyPI","fixed":["1.11.27"],"introduced":["0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-vfq6-hq5r-27r6"},{"ecosystem":"PyPI","fixed":["2.2.9"],"introduced":["2.0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-vfq6-hq5r-27r6"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["3.0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-vfq6-hq5r-27r6"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.63.3-1.1"],"introduced":["0"],"last_affected":[],"package":"python-django-allauth","purl":"pkg:rpm/opensuse/python-django-allauth\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14065-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["65.19.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-django-allauth","purl":"pkg:rpm/opensuse/python-django-allauth\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11570-1"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2019-19843"},"products":["n/a"],"published":"2019-12-18","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can take over user accounts by exploiting Unicode case transformations in email addresses during password reset requests.","url":"https://insights.sbomify.com/CVE-2019-19844/"}