cve.bz

CVE-2017-7233 djangoproject django: Open Redirect

6.1 mediumEPSS 2.4%Fix available

Medium (6.1) in djangoproject django. EPSS 2.4% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.10.7, 1.8.18, 1.9.13.

On this page
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.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-7233 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-7233?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-7233?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-7233 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:django1.8.0
djangoproject:django1.8.0:a1
djangoproject:django1.8.0:b1
djangoproject:django1.8.0:b2
djangoproject:django1.8.0:c1
djangoproject:django1.8.1
djangoproject:django1.8.2
djangoproject:django1.8.3
djangoproject:django1.8.4
djangoproject:django1.8.5
djangoproject:django1.8.6
djangoproject:django1.8.7
djangoproject:django1.8.8
djangoproject:django1.8.9
djangoproject:django1.8.10
djangoproject:django1.8.11
djangoproject:django1.8.12
djangoproject:django1.8.13
djangoproject:django1.8.14
djangoproject:django1.8.15
djangoproject:django1.8.16
djangoproject:django1.8.17
djangoproject:django1.9
djangoproject:django1.9:a1
djangoproject:django1.9:b1
djangoproject:django1.9:rc1
djangoproject:django1.9:rc2
djangoproject:django1.9.1
djangoproject:django1.9.2
djangoproject:django1.9.3
djangoproject:django1.9.4
djangoproject:django1.9.5
djangoproject:django1.9.6
djangoproject:django1.9.7
djangoproject:django1.9.8
djangoproject:django1.9.9
djangoproject:django1.9.10
djangoproject:django1.9.11
djangoproject:django1.9.12
djangoproject:django1.10.0
djangoproject:django1.10.0:a1
djangoproject:django1.10.0:b1
djangoproject:django1.10.0:rc1
djangoproject:django1.10.1
djangoproject:django1.10.2
djangoproject:django1.10.3
djangoproject:django1.10.4
djangoproject:django1.10.5
djangoproject:django1.10.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-37hp-765x-j95xPyPIdjango>=1.10a1 <1.10.71.10.7
GHSA-37hp-765x-j95xPyPIdjango>=1.9a1 <1.9.131.9.13
GHSA-37hp-765x-j95xPyPIdjango>=1.8a1 <1.8.181.8.18
PYSEC-2017-9PyPIdjango>=1.10 <1.10.7
>=1.9 <1.9.13
>=1.8 <1.8.18
1.10.7, 1.9.13, 1.8.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7python-django1.4.22-1+deb7u3DLA-885-1
Debian8python-django1.7.11-1+deb8u2DSA-3835-1
Debian12, 13, 14python-django1:1.10.7-1DEBIAN-CVE-2017-7233
Ubuntu14.04:LTSpython-django1.6.11-0ubuntu1.1UBUNTU-CVE-2017-7233 USN-3254-1
Ubuntu16.04:LTSpython-django1.8.7-1ubuntu5.5UBUNTU-CVE-2017-7233 USN-3254-1
Red Hatopenstack:6::el7python-django, python-django-doc, python-django-bash-completion0:1.6.11-7.el7ostRHSA-2017:1445
Red Hatopenstack:7::el7python-django, python-django-doc, python-django-bash-completion0:1.8.18-1.el7ostRHSA-2017:1451
Red Hatopenstack:8::el7python-django, python-django-bash-completion0:1.8.18-1.el7ostRHSA-2017:1470
Red Hatopenstack:9::el7python-django, python-django-bash-completion0:1.8.18-1.el7ostRHSA-2017:1462
Red Hatopenstack:10::el7python-django, python-django-bash-completion0:1.8.18-1.el7ostRHSA-2017:1596
Red Hatopenstack:11::el7python-django, python-django-bash-completion0:1.8.18-1.el7ostRHSA-2017:3093
Red Hatsatellite:6.4::el7foreman, foreman-cli, foreman-ec2 and 11 more0:1.18.0.37-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7pcp-mmvstatsd0:0.4-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7qpid-cpp, qpid-qmf, qpid-tools and 6 more0:1.36.0-19.el7RHSA-2018:2927
Red Hatsatellite:6.4::el7rubygem-foreman_scap_client0:0.3.0-3.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7rubygem-kafo_parsers, tfm-rubygem-hammer_cli_foreman_openscap0:0.1.6-1.el7satRHSA-2018:2927
Red Hatsatellite:6.4::el7rubygem-smart_proxy_dynflow, tfm-rubygem-get_process_mem, tfm-rubygem-smart_proxy_dynflow_core0:0.2.1-2.el7satRHSA-2018:2927
194 more for Red Hat in the JSON and on Red Hat's page.
SUSEOpenStack Cloud 6python-Django1.8.19-3.6.1SUSE-SU-2018:1102-1
SUSEOpenStack Cloud 7python-Django1.8.19-3.4.1SUSE-SU-2018:0973-1
SUSEPackage Hub 12python-Django1.11.10-5.1openSUSE-SU-2018:0632-1
SUSEPackage Hub 12 SP1python-Django1.11.15-2.1openSUSE-SU-2023:0077-1
openSUSETumbleweedpython-Django3.2.7-2.3openSUSE-SU-2024:11205-1
openSUSETumbleweedpython-Django4.2.11-2.1openSUSE-SU-2024:13887-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.2, v3.3, v3.4 and 1 morepy-django1.8.18-r0ALPINE-CVE-2017-7233
Alpinev3.6, v3.7, v3.8 and 2 morepy-django1.10.7-r0ALPINE-CVE-2017-7233
Alpinev3.11, v3.12, v3.13 and 11 morepy3-django1.10.7-r0ALPINE-CVE-2017-7233

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of python-django as shipped with Red Hat Satellite 6. Please note that python-django, as used by Pulp does not make use of the Pulp doesn't use "is_safe_url" directly or the "i18n" views or the "django.contrib.auth" Login view. Red Hat Product Security has rated this issue as having Low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7python-django-0:1.6.11-7.el7ostFixed 2017-06-14RHSA-2017:1445
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7python-django-0:1.8.18-1.el7ostFixed 2017-06-14RHSA-2017:1451
Red Hat OpenStack Platform 10.0 (Newton)python-django-0:1.8.18-1.el7ostFixed 2017-06-28RHSA-2017:1596
Red Hat OpenStack Platform 11.0 (Ocata)python-django-0:1.8.18-1.el7ostFixed 2017-10-31RHSA-2017:3093
Red Hat OpenStack Platform 8.0 (Liberty)python-django-0:1.8.18-1.el7ostFixed 2017-06-14RHSA-2017:1470
Red Hat OpenStack Platform 9.0 (Mitaka)python-django-0:1.8.18-1.el7ostFixed 2017-06-14RHSA-2017:1462
Red Hat Satellite 6.4 for RHEL 7ansiblerole-insights-client-0:1.5-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7candlepin-0:2.4.8-1.el7Fixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7createrepo_c-0:0.7.4-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Satellite 6.4 for RHEL 7foreman-0:1.18.0.37-1.el7satFixed 2018-10-16RHSA-2018:2927
Red Hat Ceph Storage 1.3calamari-serverWill not fix
Red Hat Ceph Storage 2python-djangoWill not fix
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)python-djangoWill not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Toolspython-djangoWill not fix
Red Hat OpenStack Platform 10 (Newton) Operational Toolspython-djangoNot affected
Red Hat OpenStack Platform 12 (Pike)python-djangoNot affected
Red Hat OpenStack Platform 8 (Liberty) Operational Toolspython-djangoWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Toolspython-djangoWill not fix
Red Hat Storage Console 2DjangoWill not fix
Red Hat Storage Console 2python-djangoWill not fix
314 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-7233.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON