Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                       python-django security update
                               9 March 2018


        AusCERT Security Bulletin Summary

Product:           python-django
Publisher:         Debian
Operating System:  Debian GNU/Linux 7
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-7537 CVE-2018-7536 

Reference:         ESB-2018.0664

Original Bulletin: 

- --------------------------BEGIN INCLUDED TEXT--------------------

Package        : python-django
Version        : 1.4.22-1+deb7u4
CVE ID         : CVE-2018-7536 CVE-2018-7537

Several functions were extremely slow to evaluate certain inputs due to
catastrophic backtracking vulnerabilities in several regular expressions.


    The django.utils.html.urlize() function was extremely slow to evaluate
    certain inputs due to catastrophic backtracking vulnerabilities in two
    regular expressions. The urlize() function is used to implement the urlize
    and urlizetrunc template filters, which were thus vulnerable.

    The problematic regular expressions are replaced with parsing logic that
    behaves similarly.


    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.
    The chars() and words() methods are used to implement the truncatechars_html
    and truncatewords_html template filters, which were thus vulnerable.

    The backtracking problem in the regular expression is fixed.

For Debian 7 "Wheezy", these problems have been fixed in version

We recommend that you upgrade your python-django packages.

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967