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 0E7EA15ACFC for ; Thu, 4 May 2023 07:17:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A138DE0FBD; Thu, 4 May 2023 07:16:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 14186E0E64 for ; Thu, 4 May 2023 07:12:49 +0000 (UTC) References: <168310828140.8.14993344529697209924@2ac734cbf5a7> User-agent: mu4e 1.10.3; emacs 29.0.90 From: Sam James To: security@gentoo.org, gentoo-announce@lists.gentoo.org Subject: Re: [gentoo-announce] [ GLSA 202305-19 ] Firejail: Local Privilege Escalation Date: Thu, 04 May 2023 08:10:23 +0100 Reply-to: security In-reply-to: <168310828140.8.14993344529697209924@2ac734cbf5a7> Message-ID: <87a5yko9hv.fsf@gentoo.org> 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; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Archives-Salt: f8af5e41-e757-429d-a8cc-9a79926fd0a9 X-Archives-Hash: aa11778c239b2f43839366900d87200b --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202305-19 =2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ =2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Firejail: Local Privilege Escalation Date: May 03, 2023 Bugs: #850748 ID: 202305-19 =2D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis =3D=3D=3D=3D=3D=3D=3D=3D A vulnerability has been discovered in Firejail which could result in local root privilege escalation. Background =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- sys-apps/firejail < 0.9.70 >=3D 0.9.70 sys-apps/firejail-lts * N/A =20=20=20=20=20 Description =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D An unprivileged user can exploit this vulnerability to achieve local root privileges. Workaround =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 ">=3Dsys-apps/firejail-0.9.70" References =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ 1 ] CVE-2022-31214 https://nvd.nist.gov/vuln/detail/CVE-2022-31214 Availability =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202305-19 Concerns? =3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZFNa7F8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZDVJwD/QyxeOqFkdcod3+vbuKPnrAJ5lvu8uvaYNWvX z5VVv5QBAL07fn9DjM6JcrZj5UX0O/G85aDEhOMcxmxzExPmiWME =13VJ -----END PGP SIGNATURE----- --=-=-=--