From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6FGqIJd6C2YOOAEAe85BDQ:P1 (envelope-from ) for ; Tue, 02 Apr 2024 05:25:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6FGqIJd6C2YOOAEAe85BDQ (envelope-from ) for ; Tue, 02 Apr 2024 05:25:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=UDsTUcr1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712028311; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xnbJU31NJl6bkngyUU+CiXL7cIPKeBApnzH+r0P5vaY=; b=lcWq2zz0aGxLBDKHnHC8QoxlrAhSyD3Sglx3Yd33WVl6LReCuVxcSSWwhanvYEIHE9iZQI U0f4rRUYgXt+ledOAn0r6YT1gI573drCVBYokhaql1br4JGwRdR6Gy8LmjHwLJPW8mAw55 kyPYTeHUqxttvyMN0ZllJJKR+br5mx7FmY9WpAmNZZcf9B2L1okXv0DZv5UCtqnXKrRSX2 gW8sKcrEBYq1gT1t0V/5AMznm+U+btLQ7r7F5S0Uw+ocDXe8I5iMtxW8cMGY6faBpsqNDs 29cpnr4tAQl4evAyy7tnMa+Vd22ilQMe+tIwgWmtzqlbsQCprSaKneaHor7wEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=UDsTUcr1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712028311; a=rsa-sha256; cv=none; b=p6WyR+1z+BwMlmJMtbkPRwLamPJ3ozLhBkHaMF3JxLpWmlF9oB9tryJUyhojtcioBKumOV zdII/gs+WV4lk1qTWLDFMAvPLSxlZJQ1sFv0kwkDUZAnbfa+7GqqipsgWsfpQJeHp+/HAp 41vTcInajTiv4yth5RwjZSJ/I4vo6kIJB/pT4eo+bOm6u5XxmVmTIonkV/BmBnv2eaR5Qf rFbgtwmaxlidbZngJHoDZztfrpCNJipGm41xNJ+yxcPTUOGy/1eE2EnlJEtFN9sfeBGNvd Qy/bKscbrJoSW2aAI/A9bNVSONLlul/PodxlhAPxqVu20WvPYz1bQqe2Jl0o1A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 40C581725C for ; Tue, 2 Apr 2024 05:25:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrUlj-0001Pd-Va; Mon, 01 Apr 2024 23:25:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rrUlf-0001P2-NC for guix-patches@gnu.org; Mon, 01 Apr 2024 23:25:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrUlf-00075f-4f for guix-patches@gnu.org; Mon, 01 Apr 2024 23:24:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrUli-0002U7-E4 for guix-patches@gnu.org; Mon, 01 Apr 2024 23:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70114] [bug#70113] [PATCH 1/1] gnu: libarchive: Fix a potential security issue. References: In-Reply-To: Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Apr 2024 03:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70114 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 70114@debbugs.gnu.org, 70113@debbugs.gnu.org Received: via spool by 70114-submit@debbugs.gnu.org id=B70114.17120282459275 (code B ref 70114); Tue, 02 Apr 2024 03:25:02 +0000 Received: (at 70114) by debbugs.gnu.org; 2 Apr 2024 03:24:05 +0000 Received: from localhost ([127.0.0.1]:52004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrUkl-0002PC-3W for submit@debbugs.gnu.org; Mon, 01 Apr 2024 23:24:04 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:20277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrUkg-0002OO-QF for 70114@debbugs.gnu.org; Mon, 01 Apr 2024 23:24:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1712028229; x=1712287429; bh=xnbJU31NJl6bkngyUU+CiXL7cIPKeBApnzH+r0P5vaY=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=UDsTUcr1Z+w7m0P5Djbfz1Da3jNsB+0E2RgCNJjx+nM1adWOq3/SdX746TtL1gEnh uVYSXwlUCq5SHsXwjjNwZLJhH5bpKtAczqp9xiTTo21oU6Mu/8ymt+ppW/7VJoAwOg Nx2LfEwxp9OB8+Wz9OI74qGVn3VkycKOLtJVtdRmMxEGL7/j9ekaW1fa74TNaU0D2f dOjyg6A4CFwC9IpJMmSh0seC1yyRdVPzvUhcQwGwP1swe75RNX/nvlID0OvmtpCtEZ j2iJGMAtHIiRoq3nrfRGVOQtYhtE/yp7bb6uIR5oEn+y0bTHoG7gux1oIaz9hkPSYC UaFgcS3Vu4Z2w== Date: Tue, 02 Apr 2024 03:23:44 +0000 Message-ID: <87il10wipx.fsf@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.85 X-Migadu-Queue-Id: 40C581725C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.85 X-TUID: 1nhORW2XqkUE Hi Leo, On Sun, Mar 31, 2024 at 04:44 PM, Leo Famulari wrote: > https://github.com/libarchive/libarchive/pull/2101 > > * gnu/packages/backup.scm (libarchive)[replacement]: New field. > (libarchive/fixed): New variable. > * gnu/packages/patches/libarchive-remove-potential-backdoor.patch: New fi= le. > * gnu/local.mk (dist_patch_DATA): Add it. > Overall changes look good, but I have not had a chance to try it locally (building or dependents). [...] > +(define-public libarchive/fixed > + (package > + (inherit libarchive) > + (version "3.6.1") > + (source > + (origin > + (method url-fetch) > + (uri (list (string-append "https://libarchive.org/downloads/libar= chive-" > + version ".tar.xz") > + (string-append "https://github.com/libarchive/libarchi= ve" > + "/releases/download/v" version "/libarc= hive-" > + version ".tar.xz"))) In light of the xz backdoor, perhaps we should just do a git checkout of the v3.6.1 tag rather than the tarballs? Assuming that works, of course. I haven't had a chance to look at potential ABI changes, but perhaps at least v3.6.2 is graftable? That also lists a security update (as well as later versions). Or, if it is easier and this is tested on your end, let's push this and do an upgrade to the latest on a branch. I would volunteer mesa-updates, but Cuirass has been stuck all day not building anything, so I don't know what will end up being quickest (which branch or a new one). Thanks for the quick work! John