CVE-2017-7234: Medium severity djangoproject Django vulnerability
A maliciously crafted URL to a Django (1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18) site using the django.views.static.serve() view could redirect to any other domain, aka an open redirect vulnerability.
Other sources
A maliciously crafted URL to a Django (1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18) site using the django.views.static.serve() view could redirect to any other domain, aka an open redirect vulnerability.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/djangoto a version that resolves this vulnerability.Fixed in 1.8.18 - Upgrade
Upgrade
pip/djangoto a version that resolves this vulnerability.Fixed in 1.9.13 - Upgrade
Upgrade
pip/djangoto a version that resolves this vulnerability.Fixed in 1.10.7 - Upgrade
Upgrade
alpine/py-djangoto a version that resolves this vulnerability.Fixed in 1.10.7-r0 - Upgrade
Upgrade
alpine/py-djangoto a version that resolves this vulnerability.Fixed in 1.8.18-r0 - Upgrade
Upgrade
alpine/py3-djangoto a version that resolves this vulnerability.Fixed in 1.10.7-r0
Event History
Frequently Asked Questions
What is the severity of CVE-2017-7234?
CVE-2017-7234 is classified as a medium severity vulnerability due to the potential for open redirects.
How do I fix CVE-2017-7234?
To remediate CVE-2017-7234, upgrade Django to version 1.10.7, 1.9.13, or 1.8.18 or later.
Which versions of Django are affected by CVE-2017-7234?
CVE-2017-7234 affects Django versions 1.10 prior to 1.10.7, 1.9 prior to 1.9.13, and 1.8 prior to 1.8.18.
What types of attacks could exploit CVE-2017-7234?
An attacker could exploit CVE-2017-7234 to redirect users to potentially malicious external websites.
Is there a workaround for CVE-2017-7234 until I can upgrade?
To mitigate CVE-2017-7234, consider disabling the use of django.views.static.serve() or implementing strict validation on redirect URLs.