Vulnerability advisory
GHSA-p6m5-h7pp-v2x5
Django Regex Algorithmic Complexity Causes Denial of Service
Also known as CVE-2009-3695PYSEC-2009-4
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
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
Affected versions
| Affected | Fixed in |
|---|---|
1.0 to before 1.0.4 | 1.0.4Advisories → |
1.1 to before 1.1.1 | 1.1.1Advisories → |
Also listed as affected (1) | |
Description
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2009-3695 ↗
- Webgithub.com/django/django/commit/594a28a9044120bed58671dde8a805c9e0f6c79a ↗
- Webgithub.com/django/django/commit/e3e992e18b368fcd56aabafc1b5bf80a6e11b495 ↗
- Webexchange.xforce.ibmcloud.com/vulnerabilities/53727 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-4.yaml ↗
- Webweb.archive.org/web/20091013093057/http://secunia.com/advisories/36968 ↗
- Webweb.archive.org/web/20091017070244/http://secunia.com/advisories/36948 ↗
- Webweb.archive.org/web/20200228171918/http://www.securityfocus.com/bid/36655 ↗
- Webbugs.debian.org/cgi-bin/bugreport.cgi?bug=550457 ↗
- Webgroups.google.com/group/django-users/browse_thread/thread/15df9e45118dfc51 ↗
- Webwww.debian.org/security/2009/dsa-1905 ↗
- Webwww.djangoproject.com/weblog/2009/oct/09/security ↗
- Webwww.openwall.com/lists/oss-security/2009/10/13/6 ↗