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 DBCE4158094 for ; Wed, 7 Sep 2022 03:06:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC22BE08E5; Wed, 7 Sep 2022 03:04:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 81E06E07A9 for ; Wed, 7 Sep 2022 02:52:01 +0000 (UTC) Received: from glsamakerdev.dev.gentoo.org (unknown [140.211.166.165]) by smtp.gentoo.org (Postfix) with ESMTP id D98AF33BE1F for ; Wed, 7 Sep 2022 02:52:00 +0000 (UTC) Received: from [172.24.0.3] (unknown [172.24.0.3]) by glsamakerdev.dev.gentoo.org (Postfix) with ESMTP id C54D1CF841 for ; Wed, 7 Sep 2022 02:52:00 +0000 (-00) Subject: [gentoo-announce] [ GLSA 202209-01 ] GNU Gzip, XZ Utils: Arbitrary file write 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="===============8335241293209637986==" From: glsamaker@gentoo.org To: gentoo-announce@lists.gentoo.org Reply-To: security@gentoo.org Date: Wed, 07 Sep 2022 02:52:00 -0000 Message-ID: <166251912080.14.12544941515560549381@713d1c2c1be1> X-Archives-Salt: 5465421d-34aa-4599-885a-3df67ecb82a5 X-Archives-Hash: 568060fdf9f20908879e1a7e15f35bf0 --===============8335241293209637986== Content-Type: text/plain; charset="utf-8" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202209-01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: High Title: GNU Gzip, XZ Utils: Arbitrary file write Date: September 07, 2022 Bugs: #837152, #837155 ID: 202209-01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== A vulnerability has been discovered in GNU Gzip and XZ Utils' grep helpers which could result in writes to arbitrary files. Background ========== GNU Gzip is a popular data compression program. XZ Utils is free general-purpose data compression software with a high compression ratio. Affected packages ================= ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-arch/gzip < 1.12 >= 1.12 2 app-arch/xz-utils < 5.2.5 >= 5.2.5 Description =========== GNU Gzip and XZ Utils' grep helpers do not sufficiently validate certain multi-line file names. Impact ====== In some cases, writing to arbitrary files such as shell initialization files can be escalation to remote code execution. Workaround ========== Ensuring only trusted input is passed to GNU Gzip and XZ Utils' grep helpers minimizes the potential impact. Resolution ========== All GNU Gzip users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.12" All XZ Utils users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/xz-utils-5.2.5" References ========== [ 1 ] CVE-2022-1271 https://nvd.nist.gov/vuln/detail/CVE-2022-1271 Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202209-01 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 2022 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 --===============8335241293209637986== Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmMYB1AACgkQFMQkOaVy +9n82Q/+IH5pv8+S9faF0629adfKJheEknXNdN/ERwFYB7dPQ92FCBqOwsP2+DsE 9jv/szGk+xChEVfhtLe1E88fYJuN/TgmisrdP3wJXfKsAMfUBnv9wTWiGSkb2snM QzbbBCoWgd9TmL/7Rk3gTK4MtPcHajminR95XVKJGv3JrTpv9zRq0KJkpExG6NcU KuF6r5JBhv0sKNGg+jtZ5p90JdNq7sj/Aahif2qy43KGTT6q742csVSrhhKb0JQ0 GYmUBgFlGoynRaIAbOIIXrO0n+TVYzszDtL2ng4w1iY7u3x04KYyZJ5jJIDfqi7k JHuFTe8BTq6gqQgKpJS3LeZVwgq/DyIwP8V5gQE9EkohqEMwZyFlNeMNXpRCsiQp YPKapBWt58bf99vjF2DYv/EGTBBEVa2HVAGlX3V9/hAq510/7QwAUGPiQj41vvxu +bIQjgcEyWMpOQso8J0JtNeyIQP/TjmblLl2sPkFCi8ela24FoZyxNnX0tYo5fOK rOrrQdzU6ERZEhChVJFAOwzP+zKcrMdWFJxZkLsJzh5qo4i5eMg9p0i1dfdkyG2E m8LTha/ErqoWsZTW4chfQEnPOA41c+dEGbjTUyV8Xm5CVwC1PLa4qZ+g/gksbFoq uwzwdzwfeKy43zX72BW6V3j7kKIndGIanJ491h/w/AuWNPmwhPk= =sTL0 -----END PGP SIGNATURE----- --===============8335241293209637986==--