Advisory

GHSA-p6m5-h7pp-v2x5

Also known as: CVE-2009-3695, PYSEC-2009-4

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-02 03:47 UTC
Modified
2024-09-16 22:19 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.0, fixed 1.0.4 (ecosystem)

Fixed versions

1.0.4

Fix

  • Fixed version 1.0.4
    pip install --upgrade django==1.0.4

django

PyPI · All systems

Affected

  • introduced 1.1, fixed 1.1.1 (ecosystem)

Fixed versions

1.1.1

Fix

  • Fixed version 1.1.1
    pip install --upgrade django==1.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences