VDB
Sign up
MEDIUM4.3

PYSEC-2014-20

Quick fix

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

pip install --upgrade 'django>=1.4.13'

Details

The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com."

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 1.4Fixed in: 1.4.13
Fixpip install --upgrade 'django>=1.4.13'

References