Feed
6.1MEDIUM
CVE-2017-7233Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.4%
- percentile 85%
- Fix
- Named by a source
- CVE published 4 Apr 2017 (approx.)
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.4% (+2) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 1.10.7 / 1.9.13 / 1.8.18 or later on your release line.
- Commit / pull request: https://github.com/django/django/commit/254326cb3682389f55f886804d2c43f7b9f23e4f
- Commit / pull request: https://github.com/django/django/commit/8339277518c7d8ec280070a780915304654e3b66
- Commit / pull request: https://github.com/django/django/commit/f824655bc2c50b19d2f202d7640785caabc82787
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 1.10a1, < 1.10.7Fixed in1.10.7OSV (GHSA-37hp-765x-j95x)
- Affected>= 1.9a1, < 1.9.13Fixed in1.9.13OSV (GHSA-37hp-765x-j95x)
- Affected>= 1.8a1, < 1.8.18Fixed in1.8.18OSV (GHSA-37hp-765x-j95x)
- Affected>= 1.10, < 1.10.7Fixed in1.10.7OSV (PYSEC-2017-9)
- Affected>= 1.9, < 1.9.13Fixed in1.9.13OSV (PYSEC-2017-9)
- Affected>= 1.8, < 1.8.18Fixed in1.8.18OSV (PYSEC-2017-9)
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.0)
- Score from
- GitHub Advisory Database (GHSA-37hp-765x-j95x)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-601
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2017-7233
- commit / pull requesthttps://github.com/django/django/commit/254326cb3682389f55f886804d2c43f7b9f23e4f
- commit / pull requesthttps://github.com/django/django/commit/8339277518c7d8ec280070a780915304654e3b66
- commit / pull requesthttps://github.com/django/django/commit/f824655bc2c50b19d2f202d7640785caabc82787
- advisoryhttps://access.redhat.com/errata/RHSA-2017:1445
- advisoryhttps://access.redhat.com/errata/RHSA-2017:1451
- advisoryhttps://access.redhat.com/errata/RHSA-2017:1462
- advisoryhttps://access.redhat.com/errata/RHSA-2017:1470
- advisoryhttps://access.redhat.com/errata/RHSA-2017:1596
- advisoryhttps://access.redhat.com/errata/RHSA-2017:3093
- advisoryhttps://access.redhat.com/errata/RHSA-2018:2927
- advisoryhttps://github.com/advisories/GHSA-37hp-765x-j95x
- otherhttps://github.com/django/django
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2017-9.yaml
- otherhttps://www.djangoproject.com/weblog/2017/apr/04/security-releases
- advisoryhttp://www.debian.org/security/2017/dsa-3835
- otherhttps://www.djangoproject.com/weblog/2017/apr/04/security-releases/
- otherhttp://www.securityfocus.com/bid/97406
- otherhttp://www.securitytracker.com/id/1038177
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-37hp-765x-j95x (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2017-9 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 15 min ago · osv 14 min ago · nvd 14 min ago · epss 14 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-37hp-765x-j95x, PYSEC-2017-9