Skip to content
OpenAdvisories
High · 7.5 CVE-2014-3730 EUVD-2014-0010GHSA-vq3h-3q7v-9prwPYSEC-2014-20

Django Allows Open Redirects

Published May 16, 2014 · Updated Aug 6, 2024 · Assigned by debian

Description

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."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.6.5-1 —
Debian 13 python-django 1.6.5-1 —
Debian 12 python-django 1.6.5-1 —
Debian 7 python-django 1.4.5-1+deb7u7 DSA-2934-1
Debian 6.0 python-django 1.2.3-3+squeeze10 DSA-2934-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-django 1.6.1-2ubuntu0.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.4, < 1.4.13 1.4.13 GHSA-vq3h-3q7v-9prw
PyPI django >= 1.5, < 1.5.8 1.5.8 GHSA-vq3h-3q7v-9prw
PyPI django >= 1.6, < 1.6.5 1.6.5 GHSA-vq3h-3q7v-9prw
PyPI django >= 1.7a1, < 1.7b4 1.7b4 GHSA-vq3h-3q7v-9prw
PyPI django >= 1.4, < 1.4.13 · >= 1.5, < 1.5.8 · >= 1.6, < 1.6.5 · >= 1.7a0, < 1.7b4 1.4.13, 1.5.8, 1.6.5, 1.7b4 PYSEC-2014-20

Advisories 1

References