Skip to content
OpenAdvisories
High SUSE-SU-2018:1830-1 3 CVEs

Security update for python-Django

Published Jun 27, 2018 · Updated Feb 4, 2026

Summary

This update for python-Django fixes the following security issues:

- CVE-2016-2512: The utils.http.is_safe_url function allowed remote attackers
to redirect users to arbitrary web sites and conduct phishing attacks or
possibly conduct cross-site scripting (XSS) attacks via a URL containing basic
authentication (bsc#967999).
- CVE-2018-7536: The django.utils.html.urlize() function was extremely slow to
evaluate certain inputs due to catastrophic backtracking vulnerabilities
(bsc#1083304).
- CVE-2018-7537: If django.utils.text.Truncator's chars() and words() methods
were passed the html=True argument, they were extremely slow to evaluate
certain inputs due to a catastrophic backtracking vulnerability in a regular
expression (bsc#1083305).

Fixed packages 1

ReleasePackageFixed in
SUSE · Enterprise Storage 5 python-Django 1.6.11-6.5.1

Vulnerabilities 3

  • High 7.4

    Django XSS Vulnerability

    The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks or possibly conduct cross-site scripting (XSS) attacks via a URL containing basic …

  • Medium 5.3

    Django denial-of-service possibility in urlize and urlizetrunc template filters

    An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (…

  • Medium 5.3

    Django Denial-of-service possibility in truncatechars_html and truncatewords_html template filters

    An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catas…

References

  • report
    https://bugzilla.suse.com/1083304
  • report
    https://bugzilla.suse.com/1083305
  • report
    https://bugzilla.suse.com/967999
  • web
    https://www.suse.com/security/cve/CVE-2016-2512
  • web
    https://www.suse.com/security/cve/CVE-2018-7536
  • web
    https://www.suse.com/security/cve/CVE-2018-7537