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