VDB
Sign up
MEDIUM5.1

PYSEC-2014-1

Quick fix

PYSEC-2014-1 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.4.11'

Details

The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path."

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: 1.4.11
Fixpip install --upgrade 'django>=1.4.11'

References