From owner-svn-ports-head@freebsd.org Sun Dec 17 15:23:52 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 048D8E8C60C; Sun, 17 Dec 2017 15:23:52 +0000 (UTC) (envelope-from zeising@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 mx1.freebsd.org (Postfix) with ESMTPS id C58D273881; Sun, 17 Dec 2017 15:23:51 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBHFNorT053657; Sun, 17 Dec 2017 15:23:50 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBHFNohu053655; Sun, 17 Dec 2017 15:23:50 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201712171523.vBHFNohu053655@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Sun, 17 Dec 2017 15:23:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456537 - head/security/vuxml X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/security/vuxml X-SVN-Commit-Revision: 456537 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2017 15:23:52 -0000 Author: zeising Date: Sun Dec 17 15:23:50 2017 New Revision: 456537 URL: https://svnweb.freebsd.org/changeset/ports/456537 Log: Document x11/libXcursor -- integer overflow that can lead to heap buffer overflow. CVE-2017-16612 Modified: head/security/vuxml/vuln.xml Modified: head/security/vuxml/vuln.xml ============================================================================== --- head/security/vuxml/vuln.xml Sun Dec 17 15:14:49 2017 (r456536) +++ head/security/vuxml/vuln.xml Sun Dec 17 15:23:50 2017 (r456537) @@ -58,6 +58,45 @@ Notes: * Do not forget port variants (linux-f10-libxml2, libxml2, etc.) --> + + libXcursor -- integer overflow that can lead to heap buffer overflow + + + libXcursor + 1.1.15 + + + + +

The freedesktop.org project reports:

+
+

It is possible to trigger heap overflows due to an integer + overflow while parsing images and a signedness issue while + parsing comments.

+

The integer overflow occurs because the chosen limit 0x10000 + for dimensions is too large for 32 bit systems, because each pixel + takes 4 bytes. Properly chosen values allow an overflow which in + turn will lead to less allocated memory than needed for subsequent + reads.

+

The signedness bug is triggered by reading the length of a comment + as unsigned int, but casting it to int when calling the function + XcursorCommentCreate. Turning length into a negative value allows + the check against XCURSOR_COMMENT_MAX_LEN to pass, and the following + addition of sizeof (XcursorComment) + 1 makes it possible to + allocate less memory than needed for subsequent reads.

+
+ +
+ + http://seclists.org/oss-sec/2017/q4/339 + https://cgit.freedesktop.org/xorg/lib/libXcursor/commit/?id=4794b5dd34688158fb51a2943032569d3780c4b8 + + + 2017-11-28 + 2017-12-17 + +
+ global -- gozilla vulnerability