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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | 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
- http://ubuntu.com/usn/usn-2212-1
- https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued/
- http://www.openwall.com/lists/oss-security/2014/05/15/3
- http://www.openwall.com/lists/oss-security/2014/05/14/10
- http://www.debian.org/security/2014/dsa-2934
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- http://www.securityfocus.com/bid/67410
- http://secunia.com/advisories/61281
- https://github.com/advisories/GHSA-vq3h-3q7v-9prw