From owner-svn-ports-branches@freebsd.org Thu Jul 23 18:36:07 2020 Return-Path: Delivered-To: svn-ports-branches@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 5781B35F365; Thu, 23 Jul 2020 18:36:07 +0000 (UTC) (envelope-from joneum@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BCLd31mcJz3yCZ; Thu, 23 Jul 2020 18:36:07 +0000 (UTC) (envelope-from joneum@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 062151D901; Thu, 23 Jul 2020 18:36:07 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06NIa6hj071710; Thu, 23 Jul 2020 18:36:06 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06NIa6I1071708; Thu, 23 Jul 2020 18:36:06 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <202007231836.06NIa6I1071708@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Thu, 23 Jul 2020 18:36:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r542952 - in branches/2020Q3/x11-toolkits/pango: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: joneum X-SVN-Commit-Paths: in branches/2020Q3/x11-toolkits/pango: . files X-SVN-Commit-Revision: 542952 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2020 18:36:07 -0000 Author: joneum Date: Thu Jul 23 18:36:06 2020 New Revision: 542952 URL: https://svnweb.freebsd.org/changeset/ports/542952 Log: MFH: r542951 SECURITY UPDATE: Buffer overflow Gnome Pango 1.42 and later is affected by: Buffer Overflow. The impact is: The heap based buffer overflow can be used to get code execution. The component is: function name: pango_log2vis_get_embedding_levels, assignment of nchars and the loop condition. The attack vector is: Bug can be used when application pass invalid utf-8 strings to functions like pango_itemize. PR: 239563 Reported by: Miyashita Touka Approved by: gnome (maintainer timeout) Security: 456375e1-cd09-11ea-9172-4c72b94353b5 Sponsored by: Netzkommune GmbH Approved by: ports-secteam (with hat) Added: branches/2020Q3/x11-toolkits/pango/files/CVE-20191010238 - copied unchanged from r542951, head/x11-toolkits/pango/files/CVE-20191010238 Modified: branches/2020Q3/x11-toolkits/pango/Makefile Directory Properties: branches/2020Q3/ (props changed) Modified: branches/2020Q3/x11-toolkits/pango/Makefile ============================================================================== --- branches/2020Q3/x11-toolkits/pango/Makefile Thu Jul 23 18:34:50 2020 (r542951) +++ branches/2020Q3/x11-toolkits/pango/Makefile Thu Jul 23 18:36:06 2020 (r542952) @@ -3,7 +3,7 @@ PORTNAME= pango PORTVERSION= 1.42.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DIST_SUBDIR= gnome2 Copied: branches/2020Q3/x11-toolkits/pango/files/CVE-20191010238 (from r542951, head/x11-toolkits/pango/files/CVE-20191010238) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q3/x11-toolkits/pango/files/CVE-20191010238 Thu Jul 23 18:36:06 2020 (r542952, copy of r542951, head/x11-toolkits/pango/files/CVE-20191010238) @@ -0,0 +1,16 @@ +--- ../pango/pango-bidi-type.c.orig 2020-07-23 19:10:14.338937000 +0200 ++++ ../pango/pango-bidi-type.c 2020-07-23 19:12:15.511836000 +0200 +@@ -179,8 +179,11 @@ pango_log2vis_get_embedding_levels (const gchar *te + for (i = 0, p = text; p < text + length; p = g_utf8_next_char(p), i++) + { + gunichar ch = g_utf8_get_char (p); +- FriBidiCharType char_type; +- char_type = fribidi_get_bidi_type (ch); ++ FriBidiCharType char_type = fribidi_get_bidi_type (ch); ++ ++ if (i == n_chars) ++ break; ++ + bidi_types[i] = char_type; + ored_types |= char_type; + if (FRIBIDI_IS_STRONG (char_type))