Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2009-3695

CVE-2009-3695: Django Regex Algorithmic Complexity Causes Denial of Service

May 2, 2022 (updated September 16, 2024)

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

  • exchange.xforce.ibmcloud.com/vulnerabilities/53727
  • github.com/advisories/GHSA-p6m5-h7pp-v2x5
  • github.com/django/django
  • github.com/django/django/commit/594a28a9044120bed58671dde8a805c9e0f6c79a
  • github.com/django/django/commit/e3e992e18b368fcd56aabafc1b5bf80a6e11b495
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-4.yaml
  • nvd.nist.gov/vuln/detail/CVE-2009-3695
  • web.archive.org/web/20091013093057/http://secunia.com/advisories/36968
  • web.archive.org/web/20091017070244/http://secunia.com/advisories/36948
  • web.archive.org/web/20200228171918/http://www.securityfocus.com/bid/36655

Code Behaviors & Features

Detect and mitigate CVE-2009-3695 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0 before 1.0.4, all versions starting from 1.1 before 1.1.1

Fixed versions

  • 1.0.4
  • 1.1.1

Solution

Upgrade to versions 1.0.4, 1.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity
  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/Django/CVE-2009-3695.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.