06.03.2018       Выпуск 220 (05.03.2018 - 11.03.2018)       Релизы

Django security releases: 2.0.3, 1.11.11, и 1.8.19

Читать>>



Экспериментальная функция:

Ниже вы видите текст статьи по ссылке. По нему можно быстро понять ссылка достойна прочтения или нет

Просим обратить внимание, что текст по ссылке и здесь может не совпадать.

CVE-2018-7536: Denial-of-service possibility inurlizeandurlizetrunctemplate filters

Thedjango.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). Theurlize()function is used to implement theurlizeandurlizetrunctemplate filters, which were thus vulnerable.

Thanks James Davis for reporting this issue.

CVE-2018-7537: Denial-of-service possibility intruncatechars_htmlandtruncatewords_htmltemplate filters

Ifdjango.utils.text.Truncator'schars()andwords()methods were passed thehtml=Trueargument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. Thechars()andwords()methods are used to implement thetruncatechars_htmlandtruncatewords_htmltemplate filters, which were thus vulnerable.

Thanks James Davis for reporting this issue.

Affected supported versions

  • Django master branch
  • Django 2.0
  • Django 1.11
  • Django 1.8

Per our supported versions policy, Django 1.10, 1.9, and Django 1.7 and older are no longer supported.

Resolution

Patches to resolve the issue have been applied to Django's master branch and the 2.0, 1.11, and 1.8 release branches. The patches may be obtained from the following changesets:

On the development master branch:

On the 2.0 release branch:

On the 1.11 release branch:

On the 1.8 release branch:

The following releases have been issued:

The PGP key ID used for these releases is Tim Graham: 1E8ABDC773EDE252.

General notes regarding security reporting

As always, we ask that potential security issues be reported via private email tosecurity@djangoproject.com, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.



Лучшая Python рассылка



Разместим вашу рекламу

Пиши: mail@pythondigest.ru

Нашли опечатку?

Выделите фрагмент и отправьте нажатием Ctrl+Enter.

Система Orphus