CVE-2017-7234:
Django open redirect
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.61248%
CWE
Published
1/4/2019
Updated
9/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
django | pip | >= 1.10, < 1.10.7 | 1.10.7 |
django | pip | >= 1.9, < 1.9.13 | 1.9.13 |
django | pip | >= 1.8, < 1.8.18 | 1.8.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the pre-patch code in django.views.static.serve() which contained path normalization logic followed by an HttpResponseRedirect if the path was modified. This allowed attackers to manipulate the 'path' parameter to create open redirects. The commit diff shows removal of the redirect logic and replacement with safe_join(), confirming this was the vulnerable code path. The CVE description explicitly references this function as the attack vector.