django
Affected
- introduced
1.10a1, fixed1.10.7(ecosystem)
Fixed versions
1.10.7
Fix
- Fixed version
1.10.7pip install --upgrade django==1.10.7
Advisory
Also known as: CVE-2017-7233, PYSEC-2017-9
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely django.utils.http.is_safe_url()) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on is_safe_url() to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
Medium Basis: The source's own band: MODERATE
1.10a1, fixed 1.10.7 (ecosystem)1.10.7
1.10.7pip install --upgrade django==1.10.71.9a1, fixed 1.9.13 (ecosystem)1.9.13
1.9.13pip install --upgrade django==1.9.131.8a1, fixed 1.8.18 (ecosystem)1.8.18
1.8.18pip install --upgrade django==1.8.18Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0