Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1549777 - (CVE-2018-7536) CVE-2018-7536 django: Catastrophic backtracking in regular expressions via 'urlize' and 'urlizetrunc'
CVE-2018-7536 django: Catastrophic backtracking in regular expressions via 'u...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180306,repor...
: Security
Depends On: 1551898 1551899 1551900 1552179 1552307 1554694 1557374 1557395 1557396 1549905 1549906 1551895 1551896 1551897 1551901 1552177 1552178
Blocks: 1549781
  Show dependency treegraph
 
Reported: 2018-02-27 14:59 EST by Pedro Sampaio
Modified: 2018-10-16 11:21 EDT (History)
38 users (show)

See Also:
Fixed In Version: Django 2.0.3, Django 1.11.11, Django 1.8.19
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2927 None None None 2018-10-16 11:21 EDT

  None (edit)
Description Pedro Sampaio 2018-02-27 14:59:49 EST
CVE-2018-7536: Denial-of-service possibility in ``urlize`` and
``urlizetrunc`` template filters
===========================================================================

The ``django.utils.html.urlize()`` function was extremely slow to evaluate
certain inputs due to catastrophic backtracking vulnerabilities in two
regular expressions (one regular expression for Django 1.8). 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.
Comment 5 Adam Mariš 2018-03-06 11:13:39 EST
Acknowledgments:

Name: the Django project
Comment 6 Adam Mariš 2018-03-06 11:13:57 EST
External References:

https://www.djangoproject.com/weblog/2018/mar/06/security-releases/
Comment 7 Adam Mariš 2018-03-06 11:17:00 EST
Created python-django tracking bugs for this issue:

Affects: fedora-all [bug 1552178]
Affects: epel-7 [bug 1552179]


Created python-django16 tracking bugs for this issue:

Affects: epel-7 [bug 1552177]
Comment 13 Andrej Nemec 2018-05-14 11:19:51 EDT
Statement:

This issue affects the versions of django as shipped with Red Hat Subscription Asset Manager. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 14 errata-xmlrpc 2018-10-16 11:20:55 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 6.4 for RHEL 7

Via RHSA-2018:2927 https://access.redhat.com/errata/RHSA-2018:2927

Note You need to log in before you can comment on or make changes to this bug.