{"id":"GHSA-p6m5-h7pp-v2x5","summary":"Django Regex Algorithmic Complexity Causes Denial of Service","details":"Algorithmic complexity vulnerability in the forms library in Django 1.0 before 1.0.4 and 1.1 before 1.1.1 allows remote attackers to cause a denial of service (CPU consumption) via a crafted (1) EmailField (email address) or (2) URLField (URL) that triggers a large amount of backtracking in a regular expression.","aliases":["CVE-2009-3695","PYSEC-2009-4"],"modified":"2024-09-16T22:09:02.011616Z","published":"2022-05-02T03:47:43Z","database_specific":{"github_reviewed_at":"2024-02-08T22:00:20Z","nvd_published_at":"2009-10-13T10:30:00Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-3695"},{"type":"WEB","url":"https://github.com/django/django/commit/594a28a9044120bed58671dde8a805c9e0f6c79a"},{"type":"WEB","url":"https://github.com/django/django/commit/e3e992e18b368fcd56aabafc1b5bf80a6e11b495"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/53727"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-4.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20091013093057/http://secunia.com/advisories/36968"},{"type":"WEB","url":"https://web.archive.org/web/20091017070244/http://secunia.com/advisories/36948"},{"type":"WEB","url":"https://web.archive.org/web/20200228171918/http://www.securityfocus.com/bid/36655"},{"type":"WEB","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550457"},{"type":"WEB","url":"http://groups.google.com/group/django-users/browse_thread/thread/15df9e45118dfc51"},{"type":"WEB","url":"http://www.debian.org/security/2009/dsa-1905"},{"type":"WEB","url":"http://www.djangoproject.com/weblog/2009/oct/09/security"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2009/10/13/6"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.0.4"}]}],"versions":["1.0.1","1.0.2","1.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p6m5-h7pp-v2x5/GHSA-p6m5-h7pp-v2x5.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"1.1.1"}]}],"versions":["1.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p6m5-h7pp-v2x5/GHSA-p6m5-h7pp-v2x5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}