CVEfocus › CVE database › CVE-2017-7233

CVE-2017-7233

CVSS 6.1 MediumEPSS 2.4% (higher than 84% of CVEs)Published 2017-04-04Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04python-djangoFixed1.8.7-1ubuntu5.5UBUNTU-CVE-2017-7233
Ubuntu 14.04python-djangoFixed1.6.11-0ubuntu1.1UBUNTU-CVE-2017-7233
Debian 14python-djangoFixed1:1.10.7-1DEBIAN-CVE-2017-7233
Debian 13python-djangoFixed1:1.10.7-1DEBIAN-CVE-2017-7233
Debian 12python-djangoFixed1:1.10.7-1DEBIAN-CVE-2017-7233
Alpine Linux 3.24py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.23py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.22py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.21py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.20py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.19py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.18py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.17py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.16py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.15py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.14py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.13py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.12py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.11py3-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.10py-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.9py-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.8py-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.7py-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.6py-djangoFixed1.10.7-r0ALPINE-CVE-2017-7233
Alpine Linux 3.5py-djangoFixed1.8.18-r0ALPINE-CVE-2017-7233
Alpine Linux 3.4py-djangoFixed1.8.18-r0ALPINE-CVE-2017-7233
Alpine Linux 3.3py-djangoFixed1.8.18-r0ALPINE-CVE-2017-7233
Alpine Linux 3.2py-djangoFixed1.8.18-r0ALPINE-CVE-2017-7233
PyPI librarydjangoFixed1.8.18PYSEC-2017-9

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.