HIGH7.4
PYSEC-2016-15
Quick fix
PYSEC-2016-15 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=c5544d289233f501917e25970c03ed444abbd4f0'Details
The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic authentication, as demonstrated by http://mysite.example.com\@attacker.com.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/django
Introduced in:
0Fixed in: c5544d289233f501917e25970c03ed444abbd4f0Fix
pip install --upgrade 'django>=c5544d289233f501917e25970c03ed444abbd4f0'References
- https://github.com/django/django/commit/c5544d289233f501917e25970c03ed444abbd4f0[FIX]
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases/[ARTICLE]
- http://rhn.redhat.com/errata/RHSA-2016-0504.html[ADVISORY]
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html[WEB]
- http://www.securityfocus.com/bid/83879[WEB]
- http://www.ubuntu.com/usn/USN-2915-2[ADVISORY]
- http://www.ubuntu.com/usn/USN-2915-3[ADVISORY]
- http://www.debian.org/security/2016/dsa-3544[ADVISORY]
- http://rhn.redhat.com/errata/RHSA-2016-0502.html[ADVISORY]
- http://rhn.redhat.com/errata/RHSA-2016-0505.html[ADVISORY]
- http://rhn.redhat.com/errata/RHSA-2016-0506.html[ADVISORY]
- http://www.ubuntu.com/usn/USN-2915-1[ADVISORY]
- http://www.securitytracker.com/id/1035152[WEB]
- https://github.com/advisories/GHSA-pw27-w7w4-9qc7[ADVISORY]