CVE-2017-7233
python-django - security update
6.1
MEDIUM
CVSS 3.1
EPSS 0.75%
Description
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.
How to fix CVE-2017-7233
To remediate CVE-2017-7233, upgrade the affected package to a fixed version below.
- —upgrade to 1.10.7-r0 or later
- —upgrade to 1.10.7-r0 or later
- —upgrade to 1:1.10.7-1 or later
- —upgrade to 1.4.22-1+deb7u3 or later
- —upgrade to 1.10.7 or later
- —upgrade to 1.10.7 or later
Is CVE-2017-7233 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 1.10.7-r0
- from 0, < 1.10.7-r0
- from 0, < 1:1.10.7-1
- from 0, < 1.4.22-1+deb7u3
- >= 1.10a1, < 1.10.7
- >= 1.10, < 1.10.7, >= 1.9, < 1.9.13, >= 1.8, < 1.8.18
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |