VDB
Sign up
MEDIUM5.0

PYSEC-2009-4

Quick fix

PYSEC-2009-4 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.0.4'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 1.0Fixed in: 1.0.4
Fixpip install --upgrade 'django>=1.0.4'

References