From nobody Thu Oct 12 14:51:07 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5syg74MZz4wSqC; Thu, 12 Oct 2023 14:51:07 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5syg6dfnz4WZq; Thu, 12 Oct 2023 14:51:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697122267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xdc/MOOflK56FDQEcu25EEaS2VUvuK5ImXWeIKhSMzo=; b=XZHo39Fhng/RX6DQD3/BRi5TKDZOcselNR8u7CzhQtFJGFTX9sYIiDWB4xN7Vygys6uo7l O3haXOdZdjX8pDQ8ITrEi9WIUtM2NGF6OTYc5NVg5NyJYmow2+4sT27+bi3rrLHjrDdkqc VfARt+tVPfHIbwXDl+bpddR6+RWbMRFuyv1bta+KTrzZrn31ZMWFFhrS5xhG7lgecMMkHY aIVEirVRfmORU2/O4X8EZ0dlpbBRonmMbRSkeOsYCbWwZO8aSJBW6reT9xf67pSosTUvAG KZ6XMC9qm0uVpD38hymYJV18Nf73EuA+6gCyhBlC0K0XuZnGNCsiHLne4Mn+ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697122267; a=rsa-sha256; cv=none; b=GuNKHeyqWWsEctNPpf9BcwkVZkgEMe017sG+EcPn8RwpyOjYY9UXIMoU5o0iVdehSOwHkA LK85bKzmEva/f6mq1FFgvq2FCTMlCIn+WW7V0k5hY+KOnaKo0Ysah6cE9qRatQSM7jr1ao G/doWR8gxVEFPHRwVTErO9X/RusSTQ8BWwODyVSAwKotUA0A8dPerTTHVHckqUzI+Xtvyt nNNEghgxQmOGiQogvNEqCDHLnmynAdzHWr5DhiRolwOxYCToKGSxDyGMhLosaV+Nu12qoD 0ree+Bn3ouh+HLigTAftLgtRREHUEKAYdA5YAJ/yzFQPsOiLGq/4jBzjyEfCIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697122267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xdc/MOOflK56FDQEcu25EEaS2VUvuK5ImXWeIKhSMzo=; b=eqI+b6iea3J9uzTL0N83PH1YRmSabf3uJQxnjkUcWxjZzlWuT3b8ZKoVAdVK8LnwWBAT93 G6cCFeI1C+lw95E0pPu8XEwHEY6vwq7hf/OFIMutGY1/D0kVKZz6r13NmFhjRg2IumrSK4 xetNVgD2H1lbX40MNnavg45DQ3PyKhvLRhTx77pJo40gv/E18s4jupBM67OZ+0taq6PfNu Iwl8blHJuR9whdNtVy7fOpoI9nguinvsipEocbQA6wraMmeI4lXxBz9Pukxn4k0ZLskZVf p/eoFyVIMF/NhX0dM9HSrJmcfRFElS0YAvs0X72Vrze9OjGF9hrUcBBllw8YQA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5syg5hhTz17Qq; Thu, 12 Oct 2023 14:51:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39CEp7Ca034123; Thu, 12 Oct 2023 14:51:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39CEp7Ae034120; Thu, 12 Oct 2023 14:51:07 GMT (envelope-from git) Date: Thu, 12 Oct 2023 14:51:07 GMT Message-Id: <202310121451.39CEp7Ae034120@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emmanuel Vadot Subject: git: e7ca9d32f979 - main - security/vuxml: Document libX11 recent CVEs List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7ca9d32f979c2c954aacb095891544ae4e6c327 Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7ca9d32f979c2c954aacb095891544ae4e6c327 commit e7ca9d32f979c2c954aacb095891544ae4e6c327 Author: Emmanuel Vadot AuthorDate: 2023-10-12 14:38:44 +0000 Commit: Emmanuel Vadot CommitDate: 2023-10-12 14:48:20 +0000 security/vuxml: Document libX11 recent CVEs PR: 274266 --- security/vuxml/vuln/2023.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/security/vuxml/vuln/2023.xml b/security/vuxml/vuln/2023.xml index ff3bdd2fd750..39a9b3bdb902 100644 --- a/security/vuxml/vuln/2023.xml +++ b/security/vuxml/vuln/2023.xml @@ -1,3 +1,59 @@ + + 11/libX11 multiple vulnerabilities + + + libX11 + 1.8.7 + + + + +

The X.Org project reports:

+
+
+
CVE-2023-43785: out-of-bounds memory access in _XkbReadKeySyms()
+
When libX11 is processing the reply from the X server to the XkbGetMap + request, if it detected the number of symbols in the new map was less + than the size of the buffer it had allocated, it always added room for + 128 more symbols, instead of the actual size needed. While the + _XkbReadBufferCopyKeySyms() helper function returned an error if asked + to copy more keysyms into the buffer than there was space allocated for, + the caller never checked for an error and assumed the full set of keysyms + was copied into the buffer and could then try to read out of bounds when + accessing the buffer. libX11 1.8.7 has been patched to both fix the size + allocated and check for error returns from _XkbReadBufferCopyKeySyms().
+
CVE-2023-43786: stack exhaustion in XPutImage
+
When splitting a single line of pixels into chunks that fit in a single + request (not using the BIG-REQUESTS extension) to send to the X server, + the code did not take into account the number of bits per pixel, so would + just loop forever finding it needed to send more pixels than fit in the + given request size and not breaking them down into a small enough chunk to + fit. An XPM file was provided that triggered this bug when loaded via + libXpm's XpmReadFileToPixmap() function, which in turn calls XPutImage() + and hit this bug.
+
CVE-2023-43787: integer overflow in XCreateImage() leading to a heap overflow
+
When creating an image, there was no validation that the multiplication + of the caller-provided width by the visual's bits_per_pixel did not + overflow and thus result in the allocation of a buffer too small to hold + the data that would be copied into it. An XPM file was provided that + triggered this bug when loaded via libXpm's XpmReadFileToPixmap() function, + which in turn calls XCreateImage() and hit this bug.i
+
+
+ +
+ + CVE-2023-43785 + CVE-2023-43786 + CVE-2023-43787 + https://lists.x.org/archives/xorg/2023-October/061506.html + + + 2023-09-22 + 2023-10-12 + +
+ chromium -- multiple vulnerabilities