p PatchFirst

CVE-2017-7233

CVE-2017-7233

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.1 · Medium · EPSS 2.4% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • python-django Debian:12

    Affected ranges
    • ECOSYSTEM: < 1:1.10.7-1

    Update to 1:1.10.7-1

  • python-django Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:1.10.7-1

    Update to 1:1.10.7-1

  • python-django Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:1.10.7-1

    Update to 1:1.10.7-1

  • django PyPI

    Versions
    • 1.10
    • 1.10.1
    • 1.10.2
    • 1.10.3
    • 1.10.4
    • 1.10.5
    • 1.10.6
    • 1.10a1
    • 1.10b1
    • 1.10rc1
    Affected ranges
    • ECOSYSTEM: ≥ 1.10a1, < 1.10.7

    Update to 1.10.7

  • django PyPI

    Versions
    • 1.9
    • 1.9.1
    • 1.9.10
    • 1.9.11
    • 1.9.12
    • 1.9.2
    • 1.9.3
    • 1.9.4
    • 1.9.5
    • 1.9.6
    • 1.9.7
    • 1.9.8
    • 1.9.9
    • 1.9a1
    • 1.9b1
    • 1.9rc1
    • 1.9rc2
    Affected ranges
    • ECOSYSTEM: ≥ 1.9a1, < 1.9.13

    Update to 1.9.13

  • django PyPI

    Versions
    • 1.8
    • 1.8.1
    • 1.8.10
    • 1.8.11
    • 1.8.12
    • 1.8.13
    • 1.8.14
    • 1.8.15
    • 1.8.16
    • 1.8.17
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.5
    • 1.8.6
    • 1.8.7
    • 1.8.8
    • 1.8.9
    • 1.8a1
    • 1.8b1
    • 1.8b2
    • 1.8c1
    Affected ranges
    • ECOSYSTEM: ≥ 1.8a1, < 1.8.18

    Update to 1.8.18

  • django PyPI

    Versions
    • 1.10
    • 1.10.1
    • 1.10.2
    • 1.10.3
    • 1.10.4
    • 1.10.5
    • 1.10.6
    • 1.8
    • 1.8.1
    • 1.8.10
    • 1.8.11
    • 1.8.12
    • 1.8.13
    • 1.8.14
    • 1.8.15
    • 1.8.16
    • 1.8.17
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.5
    • 1.8.6
    • 1.8.7
    • 1.8.8
    • 1.8.9
    • 1.9
    • 1.9.1
    • 1.9.10
    • 1.9.11
    • 1.9.12
    • 1.9.2
    • 1.9.3
    • 1.9.4
    • 1.9.5
    • 1.9.6
    • 1.9.7
    • 1.9.8
    • 1.9.9
    Affected ranges
    • ECOSYSTEM: ≥ 1.10, < 1.10.7 ∪ ≥ 1.9, < 1.9.13 ∪ ≥ 1.8, < 1.8.18

    Update to 1.10.7; Update to 1.9.13; Update to 1.8.18

  • python-django Ubuntu:14.04:LTS

    Versions
    • 1.5.4-1ubuntu1
    • 1.6-1
    • 1.6.1-1
    • 1.6.1-2
    • 1.6.1-2ubuntu0.1
    • 1.6.1-2ubuntu0.2
    • 1.6.1-2ubuntu0.3
    • 1.6.1-2ubuntu0.4
    • 1.6.1-2ubuntu0.5
    • 1.6.1-2ubuntu0.6
    • 1.6.1-2ubuntu0.8
    • 1.6.1-2ubuntu0.9
    • 1.6.1-2ubuntu0.10
    • 1.6.1-2ubuntu0.11
    • 1.6.1-2ubuntu0.12
    • 1.6.1-2ubuntu0.13
    • 1.6.1-2ubuntu0.14
    • 1.6.1-2ubuntu0.15
    • 1.6.1-2ubuntu0.16
    • 1.6.11-0ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.6.11-0ubuntu1.1

    Update to 1.6.11-0ubuntu1.1

  • python-django Ubuntu:16.04:LTS

    Versions
    • 1.7.9-1ubuntu5
    • 1.8.5-2ubuntu1
    • 1.8.7-1ubuntu1
    • 1.8.7-1ubuntu2
    • 1.8.7-1ubuntu3
    • 1.8.7-1ubuntu4
    • 1.8.7-1ubuntu5
    • 1.8.7-1ubuntu5.1
    • 1.8.7-1ubuntu5.2
    • 1.8.7-1ubuntu5.4
    Affected ranges
    • ECOSYSTEM: < 1.8.7-1ubuntu5.5

    Update to 1.8.7-1ubuntu5.5

Original sources

Check your server →