From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C754515815E for ; Sat, 3 Feb 2024 06:26:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91B11E2AA5; Sat, 3 Feb 2024 06:25:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86E06E2A4E for ; Sat, 3 Feb 2024 06:19:04 +0000 (UTC) Received: from glsamakerdev.dev.gentoo.org (unknown [140.211.166.165]) by smtp.gentoo.org (Postfix) with ESMTP id C0691343159 for ; Sat, 3 Feb 2024 06:19:03 +0000 (UTC) Received: from [172.18.0.3] (unknown [172.18.0.3]) by glsamakerdev.dev.gentoo.org (Postfix) with ESMTP id 903129D83C for ; Sat, 3 Feb 2024 06:19:03 +0000 (UTC) Subject: [gentoo-announce] [ GLSA 202402-02 ] SDDM: Privilege Escalation Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-announce@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha512"; boundary="===============0885897359805195121==" From: glsamaker@gentoo.org To: gentoo-announce@lists.gentoo.org Reply-To: security@gentoo.org Date: Sat, 03 Feb 2024 06:19:03 -0000 Message-ID: <170694114358.8.7080070638354351736@987c7955d8b1> X-Archives-Salt: bb423793-a157-428d-96e7-b928028ad08e X-Archives-Hash: bf98c0213d97e9cd0c581dbce548cb1f --===============0885897359805195121== Content-Type: text/plain; charset="utf-8" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202402-02 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: SDDM: Privilege Escalation Date: February 03, 2024 Bugs: #753104 ID: 202402-02 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== A vulnerability has been discovered in SDDM which can lead to privilege escalation. Background ========== SDDM is a modern display manager for X11 and Wayland sessions aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick, which in turn gives the designer the ability to create smooth, animated user interfaces. Affected packages ================= Package Vulnerable Unaffected ------------- ------------ ------------ x11-misc/sddm < 0.18.1-r6 >= 0.18.1-r6 Description =========== A vulnerability has been discovered in SDDM. Please review the CVE identifier referenced below for details. Impact ====== SDDM passes the -auth and -displayfd command line arguments when starting the Xserver. It then waits for the display number to be received from the Xserver via the `displayfd`, before the Xauthority file specified via the `-auth` parameter is actually written. This results in a race condition, creating a time window in which no valid Xauthority file is existing while the Xserver is already running. The X.Org server, when encountering a non-existing, empty or corrupt/incomplete Xauthority file, will grant any connecting client access to the Xorg display. A local unprivileged attacker can thus create an unauthorized connection to the Xserver and grab e.g. keyboard input events from other legitimate users accessing the Xserver. Workaround ========== There is no known workaround at this time. Resolution ========== All SDDM users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=x11-misc/sddm-0.18.1-r6" References ========== [ 1 ] CVE-2020-28049 https://nvd.nist.gov/vuln/detail/CVE-2020-28049 Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202402-02 Concerns? ========= Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org. License ======= Copyright 2024 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. https://creativecommons.org/licenses/by-sa/2.5 --===============0885897359805195121== Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmW92tcACgkQFMQkOaVy +9nhYw//cC+G1uxW7w4knn13iwUezQvW2tcpwNUdl83+L/eN6aAXw0roOqzXw5/Y ehdBK9/Y8ZLX9zORH0gNnqZMCZdDGhdDjK3qDK5eFrbk63kh2B++qexb42fA933L ryPrgDH+KUoPiL2RMD0j8XEBhtkRawQx13Po5j8lkfRehVC/0eKxZdeBaqxFuR86 nmJneS7xN6cSgqySh73W2eWrzY+op4Iq/3WEBuzasSq5kkGs++abslK30339gAxd d5rG1fzwVCt7Lqe2pgejzog32ySyQh9tR5aDYurYNJeyiylvJmxxem1dfUcfT2yt aSYCc2Ed7xlqBalM+2bVMx93GS6kazRhKsy/dyceahluI4KT3PUbLXlIXM6FZ7up hEAUzhc87rlNNv5UqdrJ5zTLnARDWFSsgzFzAc5XWEfkjT20G8JPDODNP5cmYSXY cQaO9yS8+VeDaMQixQ6rx5IFZEDSYqK6HKxW+Zfl7N2+6weHgJLbk+m6K5LtW0S4 3/5/Ou4CwOulYaobXiaeCWbDE0pKzdW3bbBEfIxDgaKEXIG+aMjdk/lUnTrRfHIV 8dONPALdjY7fdukNrhD2hUr6ZwWrmjIqd1juaiv6CFFjRhThYLkBzwYZHocCU78W JGJmYwJBtn7a0WT3qneBJLYZhAs5QHR0Zd++oeoz8HC9CZdmois= =yTUV -----END PGP SIGNATURE----- --===============0885897359805195121==--