CVE-2017-7233
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 1.11-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:1.10.7-1 |
| sid | Fixed | 1:1.10.7-1 |
| forky | Fixed | 1:1.10.7-1 |
| bullseye | Fixed | 1:1.10.7-1 |
| bookworm | Fixed | 1:1.10.7-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| djangoproject | django | 1.8.0 | |
| djangoproject | django | 1.8.1 | |
| djangoproject | django | 1.8.2 | |
| djangoproject | django | 1.8.3 | |
| djangoproject | django | 1.8.4 | |
| djangoproject | django | 1.8.5 | |
| djangoproject | django | 1.8.6 | |
| djangoproject | django | 1.8.7 | |
| djangoproject | django | 1.8.8 | |
| djangoproject | django | 1.8.9 | |
| djangoproject | django | 1.8.10 | |
| djangoproject | django | 1.8.11 | |
| djangoproject | django | 1.8.12 | |
| djangoproject | django | 1.8.13 | |
| djangoproject | django | 1.8.14 | |
| djangoproject | django | 1.8.15 | |
| djangoproject | django | 1.8.16 | |
| djangoproject | django | 1.8.17 | |
| djangoproject | django | 1.9 | |
| djangoproject | django | 1.9.1 | |
| djangoproject | django | 1.9.2 | |
| djangoproject | django | 1.9.3 | |
| djangoproject | django | 1.9.4 | |
| djangoproject | django | 1.9.5 | |
| djangoproject | django | 1.9.6 | |
| djangoproject | django | 1.9.7 | |
| djangoproject | django | 1.9.8 | |
| djangoproject | django | 1.9.9 | |
| djangoproject | django | 1.9.10 | |
| djangoproject | django | 1.9.11 | |
| djangoproject | django | 1.9.12 | |
| djangoproject | django | 1.10.0 | |
| djangoproject | django | 1.10.1 | |
| djangoproject | django | 1.10.2 | |
| djangoproject | django | 1.10.3 | |
| djangoproject | django | 1.10.4 | |
| djangoproject | django | 1.10.5 | |
| djangoproject | django | 1.10.6 | |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-7233
- https://github.com/django/django/commit/254326cb3682389f55f886804d2c43f7b9f23e4f
- https://github.com/django/django/commit/8339277518c7d8ec280070a780915304654e3b66
- https://github.com/django/django/commit/f824655bc2c50b19d2f202d7640785caabc82787
- https://access.redhat.com/errata/RHSA-2017:1445
- https://access.redhat.com/errata/RHSA-2017:1451
- https://access.redhat.com/errata/RHSA-2017:1462
- https://access.redhat.com/errata/RHSA-2017:1470
- https://access.redhat.com/errata/RHSA-2017:1596
- https://access.redhat.com/errata/RHSA-2017:3093
- https://access.redhat.com/errata/RHSA-2018:2927
- https://github.com/advisories/GHSA-37hp-765x-j95x
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2017-9.yaml
- https://www.djangoproject.com/weblog/2017/apr/04/security-releases
- http://www.debian.org/security/2017/dsa-3835
- https://security.archlinux.org/ASA-201704-2
- http://www.securityfocus.com/bid/97406
- http://www.securitytracker.com/id/1038177
- https://www.djangoproject.com/weblog/2017/apr/04/security-releases/
- https://www.suse.com/security/cve/CVE-2017-7233.html
- https://security-tracker.debian.org/tracker/CVE-2017-7233
CWEs
CWE-601
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.