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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B514815ACFC for ; Wed, 3 May 2023 10:24:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18B48E0F78; Wed, 3 May 2023 10:15:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8DB7E0BD9 for ; Wed, 3 May 2023 10:04:41 +0000 (UTC) Received: from glsamakerdev.dev.gentoo.org (unknown [140.211.166.165]) by smtp.gentoo.org (Postfix) with ESMTP id 6BBEE34171E for ; Wed, 3 May 2023 10:04:41 +0000 (UTC) Received: from [172.18.0.3] (unknown [172.18.0.3]) by glsamakerdev.dev.gentoo.org (Postfix) with ESMTP id 63A1D7FF17 for ; Wed, 3 May 2023 10:04:41 +0000 (UTC) Subject: [gentoo-announce] [ GLSA 202305-19 ] Firejail: Local 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="===============4765105063271404981==" From: glsamaker@gentoo.org To: gentoo-announce@lists.gentoo.org Reply-To: security@gentoo.org Date: Wed, 03 May 2023 10:04:41 -0000 Message-ID: <168310828140.8.14993344529697209924@2ac734cbf5a7> X-Archives-Salt: a666fdb7-ef88-48b2-b20a-3c00926eca4e X-Archives-Hash: cff035acde55718edbcb2135eee1cf41 --===============4765105063271404981== Content-Type: text/plain; charset="utf-8" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202305-19 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Firejail: Local Privilege Escalation Date: May 03, 2023 Bugs: #850748 ID: 202305-19 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== A vulnerability has been discovered in Firejail which could result in local root privilege escalation. Background ========== A SUID program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf. Affected packages ================= ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/glsamaker/models/glsa.py", line 326, in generate_mail_table return self._generate_mail_table() File "/usr/local/lib/python3.9/site-packages/glsamaker/models/glsa.py", line 297, in _generate_mail_table vuln.range_types_rev[vuln.pkg_range], vuln.version KeyError: None Description =========== Firejail does not sufficiently validate the user's environment prior to using it as the root user when using the --join command line option. Impact ====== An unprivileged user can exploit this vulnerability to achieve local root privileges. Workaround ========== System administrators can mitigate this vulnerability via adding either "force-nonewprivs yes" or "join no" to the Firejail configuration file in /etc/firejail/firejail.config. Resolution ========== Gentoo has discontinued support for sys-apps/firejail-lts. Users should unmerge it in favor of sys-apps/firejail: # emerge --ask --depclean --verbose "sys-apps/firejail-lts" # emerge --ask --verbose "sys-apps/firejail" All Firejail users should upgrade to the latest version: # emerge --ask --oneshot --verbose ">=sys-apps/firejail-0.9.70" References ========== [ 1 ] CVE-2022-31214 https://nvd.nist.gov/vuln/detail/CVE-2022-31214 Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202305-19 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 2023 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 --===============4765105063271404981== Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmRSMbkACgkQFMQkOaVy +9mJKA//buRpVqvbgYXJV7jhSccbj/UIm+kM67GGRasOAJGnKn4qqngHOxjH7Qbz MoofBSKfwHaEq4v0p9WvHnFMEjilegMFU7nnJVSo+rimNeAl4Ef+dzhhjuWxnBcR U938SojqZzTcMQHP1hTyEekRlvQWsuSIhQfTJVQdIBXBLu333jJFNy9SnOIGyzS6 1P06LvTQzkML1IaKIC9dIL82rMmOLM9cJhDvrmBiJ7QwuaBlpCOkp6TdF/+gjU43 SFhEADEFAZrMfqdHRUTXKeaLQw1btVNqcmAWi2WK3+8Pfn824G2n+n1lIWveLqwR wxj8GWFpBbkeBc9PkqPFAJfuq65qd3IHgUlE46AN0ImP2jnQD00h3FYMHJfrySF2 etnXi59Gc/QkEBkYQjguVJvKj+VGOaljAKNcu27mw+9ySSgP1Qg4nHxZKveuwNwN s/espFdQ1SDZOuUhIzONkxcz/G2Dem/+3IPTmkOxD1N8eyn9tZklzjMRpR1e39ty jvcGcvnwMb3UCNAeHq0FpgIkG9k8j4xSaVeB+ZJEH+8qV3HKKnUmX2f3V6R0ngvm dtfK/8PXvO8T/ahNj1f/z88WQ8BQEQh+wnMX1sxD5WafRT6aQogecja+yF3ARSr1 NNQZsz2IFx34hoY4FH7tIscFLYLA20ovam9owb5irV6jACG9JBk= =+0Lr -----END PGP SIGNATURE----- --===============4765105063271404981==--