Skip to content
OpenAdvisories
High SUSE-SU-2015:1112-1 5 CVEs

Security update for python-Django

Published Mar 30, 2015 · Updated Feb 4, 2026

Summary

python-django was updated to 1.6.11 to fix security issues and non-security bugs.

The following vulnerabilities were fixed:

* Made is_safe_url() reject URLs that start with control characters to mitigate possible XSS attack via user-supplied redirect URLs (bnc#923176, CVE-2015-2317)
* Fixed an infinite loop possibility in strip_tags() (bnc#923172, CVE-2015-2316)
* WSGI header spoofing via underscore/dash conflation (bnc#913053, CVE-2015-0219)
* Mitigated possible XSS attack via user-supplied redirect URLs
* Denial-of-service attack against ``django.views.static.serve`` (bnc#913056, CVE-2015-0221)
* Database denial-of-service with ``ModelMultipleChoiceField`` (bnc#913055, CVE-2015-0222)

The update also contains fixes for non-security bugs, functional and stability issues.

Fixed packages 1

ReleasePackageFixed in
SUSE · Enterprise Storage 1.0 python-Django 1.6.11-4.1

Vulnerabilities 5

  • High 7.5

    Django DoS in django.views.static.serve

    The django.views.static.serve view in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 reads files an entire line at a time, which allows remote attackers to cause a denial of service (memory consumption) via a long line in a file.

  • High 7.5

    Django database denial-of-service with ModelMultipleChoiceField

    ModelMultipleChoiceField in Django 1.6.x before 1.6.10 and 1.7.x before 1.7.3, when show_hidden_initial is set to True, allows remote attackers to cause a denial of service by submitting duplicate values, which triggers a large number of SQL queries.

  • High 7.5

    Django Denial-of-service possibility with strip_tags

    The utils.html.strip_tags function in Django 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1, when using certain versions of Python, allows remote attackers to cause a denial of service (infinite loop) by increasing the length of the input str…

  • Medium 6.1

    Django cross-site scripting (XSS) attack via user-supplied redirect URLs

    The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control char…

  • Medium 5.3

    Django WSGI Header Spoofing Vulnerability

    Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 allows remote attackers to spoof WSGI headers by using an _ (underscore) character instead of a - (dash) character in an HTTP header, as demonstrated by an X-Auth_User header.

References

  • report
    https://bugzilla.suse.com/913053
  • report
    https://bugzilla.suse.com/913055
  • report
    https://bugzilla.suse.com/913056
  • report
    https://bugzilla.suse.com/923172
  • report
    https://bugzilla.suse.com/923176
  • web
    https://www.suse.com/security/cve/CVE-2015-0219
  • web
    https://www.suse.com/security/cve/CVE-2015-0221
  • web
    https://www.suse.com/security/cve/CVE-2015-0222
  • web
    https://www.suse.com/security/cve/CVE-2015-2316
  • web
    https://www.suse.com/security/cve/CVE-2015-2317