ADVISORIES

PyPA Advisory Database

PYSEC-2014-20

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

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 1.4 before 1.4.13 (fixed in 1.4.13)
From 1.5 before 1.5.8 (fixed in 1.5.8)
From 1.6 before 1.6.5 (fixed in 1.6.5)
From 1.7a0 before 1.7b4 (fixed in 1.7b4)

References