From owner-svn-ports-all@freebsd.org Sat Aug 3 20:57:33 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FAF4BAEEF; Sat, 3 Aug 2019 20:57:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 461GZ46fW7z3DnR; Sat, 3 Aug 2019 20:57:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AE71820BFC; Sat, 3 Aug 2019 20:57:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x73KvWEh087037; Sat, 3 Aug 2019 20:57:32 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x73KvWl4087036; Sat, 3 Aug 2019 20:57:32 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201908032057.x73KvWl4087036@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 3 Aug 2019 20:57:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508025 - head/security/vuxml X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/security/vuxml X-SVN-Commit-Revision: 508025 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Aug 2019 20:57:33 -0000 X-List-Received-Date: Sat, 03 Aug 2019 20:57:33 -0000 Author: sunpoet Date: Sat Aug 3 20:57:31 2019 New Revision: 508025 URL: https://svnweb.freebsd.org/changeset/ports/508025 Log: Document Django vulnerability Modified: head/security/vuxml/vuln.xml Modified: head/security/vuxml/vuln.xml ============================================================================== --- head/security/vuxml/vuln.xml Sat Aug 3 20:57:24 2019 (r508024) +++ head/security/vuxml/vuln.xml Sat Aug 3 20:57:31 2019 (r508025) @@ -58,6 +58,89 @@ Notes: * Do not forget port variants (linux-f10-libxml2, libxml2, etc.) --> + + Django -- multiple vulnerabilities + + + py27-django111 + py35-django111 + py36-django111 + py37-django111 + 1.11.23 + + + py27-django21 + py35-django21 + py36-django21 + py37-django21 + 2.1.11 + + + py27-django22 + py35-django22 + py36-django22 + py37-django22 + 2.2.4 + + + + +

Django release notes:

+
+

CVE-2019-14232: Denial-of-service possibility in + django.utils.text.Truncator

+

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 regular expressions used by Truncator have been simplified in + order to avoid potential backtracking issues. As a consequence, trailing + punctuation may now at times be included in the truncated output.

+

CVE-2019-14233: Denial-of-service possibility in strip_tags()

+

Due to the behavior of the underlying HTMLParser, + django.utils.html.strip_tags() would be extremely slow to evaluate + certain inputs containing large sequences of nested incomplete HTML + entities. The strip_tags() method is used to implement the corresponding + striptags template filter, which was thus also vulnerable.

+

strip_tags() now avoids recursive calls to HTMLParser when progress + removing tags, but necessarily incomplete HTML entities, stops being + made.

+

Remember that absolutely NO guarantee is provided about the results of + strip_tags() being HTML safe. So NEVER mark safe the result of a + strip_tags() call without escaping it first, for example with + django.utils.html.escape().

+

CVE-2019-14234: SQL injection possibility in key and index lookups for + JSONField/HStoreField

+

Key and index lookups for JSONField and key lookups for HStoreField + were subject to SQL injection, using a suitably crafted dictionary, + with dictionary expansion, as the **kwargs passed to QuerySet.filter().

+

CVE-2019-14235: Potential memory exhaustion in + django.utils.encoding.uri_to_iri()

+

If passed certain inputs, django.utils.encoding.uri_to_iri() could lead + to significant memory usage due to excessive recursion when + re-percent-encoding invalid UTF-8 octet sequences.

+

uri_to_iri() now avoids recursion when re-percent-encoding invalid + UTF-8 octet sequences.

+
+ +
+ + https://docs.djangoproject.com/en/1.11/releases/1.11.23/ + https://docs.djangoproject.com/en/2.1/releases/2.1.11/ + https://docs.djangoproject.com/en/2.2/releases/2.2.4/ + CVE-2019-14232 + CVE-2019-14233 + CVE-2019-14234 + CVE-2019-14235 + + + 2019-08-01 + 2019-08-03 + +
+ gitea -- multiple vulnerabilities