From patchwork Sat Nov 9 14:27:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 70160 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 37AC727BBEA; Sat, 9 Nov 2024 16:11:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8145027BBE2 for ; Sat, 9 Nov 2024 16:11:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9o3D-00053V-RE; Sat, 09 Nov 2024 11:11:03 -0500 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 1t9o3C-000534-Qq for guix-patches@gnu.org; Sat, 09 Nov 2024 11:11:02 -0500 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 1t9o3C-0006Ny-JD for guix-patches@gnu.org; Sat, 09 Nov 2024 11:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=/8k8AmkUfYKY6pLqlT8qDo0HIE66LM287s3K9dAmAkI=; b=lLan3LC2KW+cHLIUTtmtr5vRmuF5RWdTJPCo6iI434ZQ9+oKbjbUCp4m9K5NHTY88woAY/pMvCyCEuY6B4wenL1mSBr/Y8pe9G0zcZJVQffbO+kHgpn+E4nuqAWrrAlFcQgaPP1DxqJX/dreP6RUjbXeiNyNYT8PVS57gsDabVT/+pxwQPVBFh0jfBzd6Y46D8eTMpDEqyomp0RK/YcGxiSZZXWnRLITwSfvocy6fAsR2k12ohYileyajF2/lhGOWoHz52ZWDQVz+WaltcA/yFUb4EHBrRDHYX2TLape5dqkMra6omGo9gukTLfKiwvpDV/dx6BJR7NXbprgWda8EQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9o3C-0002zR-Cm for guix-patches@gnu.org; Sat, 09 Nov 2024 11:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74283] [PATCH] gnu: libarchive: Graft to 3.7.7. [security fixes] Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Nov 2024 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74283 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74283@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173116865811481 (code B ref -1); Sat, 09 Nov 2024 16:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Nov 2024 16:10:58 +0000 Received: from localhost ([127.0.0.1]:54138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9o37-0002z7-QH for submit@debbugs.gnu.org; Sat, 09 Nov 2024 11:10:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:48204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9o35-0002yz-I1 for submit@debbugs.gnu.org; Sat, 09 Nov 2024 11:10:56 -0500 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 1t9o34-00052X-BE; Sat, 09 Nov 2024 11:10:54 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9o32-0006NX-OO; Sat, 09 Nov 2024 11:10:54 -0500 Received: by mail-wm1-x341.google.com with SMTP id 5b1f17b1804b1-4314c4cb752so27484905e9.2; Sat, 09 Nov 2024 08:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731168650; x=1731773450; darn=gnu.org; h=mime-version:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=/8k8AmkUfYKY6pLqlT8qDo0HIE66LM287s3K9dAmAkI=; b=NVOMRFOEJTa2j8HT2cimQuCOkgQ0yXntbm9EV0VXLCUsdGKY3PZSqVuWpJJS/EUY/8 /gvaFuPXeaVI4MzeUA3Jl6RwH28gXNDXFrn/EIjSqHUE5YCLVAR6zYI26THkt5Kncd+p xMwY6ceTlF/4sAV+GoQaNDwDBtVtN0fcOZODOKwJJMi81IPug4AA5blMyLmjQf6XR3FE HSrrsWbKMoqBBvPv5P8StOwbi3dZ/r3Wa1iwmx/fG81zsJMFX5BQJWkzCmFERu+RP+aN dmnQYC67YIbVUK8nvIKIxuDARoQK2eQMufEU4ruVmexBJuLNKA+1DMK+lN9Qr1cuBr49 kBFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731168650; x=1731773450; h=mime-version:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/8k8AmkUfYKY6pLqlT8qDo0HIE66LM287s3K9dAmAkI=; b=KTcvrzGVCV5sTbl1fzJ9+p4EO/aRWaeQpbCyAWj6RiKFEkPArzGQvLeO3nYzZPJofV tDLi2gkz+EToqDRaEtHVSM+kBqgu1yUSXXRHnv+PmmK4ltkcJh1ncolslsKBOloYxPqK 2cp4PVWVOrdEMcmHDjO+XVeR9CZXSEpCeNiew7gmAeH5irbz3utwZBjdu4uF9qox/KVe 3Dn+ckoIMH6Nfz/6Y8AVO4Ki+kOUMqQvwro9GSYxHndn0dAGEEga18us05dLLXocIimx QovmBWaq5v0DIR65MQVv9vMBpZcwBpU0Z52IYGslKEOBYR/kQOxpkQrJJ1XjF+Xxh8lp Rm7w== X-Forwarded-Encrypted: i=1; AJvYcCXxEOvAO19Sm1/2aXciPMIHv0IaADc6GQvA3a1+mv2HUMu2voDEX7lIsWBSVP/O+Mkg3lwfGCdwE16PT+GA@gnu.org X-Gm-Message-State: AOJu0Yzhl+kobAvr+VS7ojKDrzK8dbcMwxC2d0KgLifDERBN3NVdP5IL G/Af3JyMvYFQU0cnC27WqNNT5dgcuNX8ZxgQHp5wuBxn5+6MpalrULt6Ste7 X-Google-Smtp-Source: AGHT+IGVTmJjDdlFYk50tAhv98TbWFtJ9zaxnq5ac5sszEQEsAO5xdEkRPBII8UsePKqGH0NR46HVw== X-Received: by 2002:a05:600c:1d85:b0:42c:b5f1:44ff with SMTP id 5b1f17b1804b1-432b751b696mr57154435e9.24.1731168649882; Sat, 09 Nov 2024 08:10:49 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa70a1e9sm150776925e9.29.2024.11.09.08.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Nov 2024 08:10:48 -0800 (PST) Message-ID: <1ca0c3d9b6423645ebdfda7efbc9376477b07943.1731168409.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler Date: Sat, 9 Nov 2024 15:27:49 +0100 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x341.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/backup.scm (libarchive): Add replacement with libarchive/fixed. (libarchive/fixed): New variable. Fixes: Out of bounds access in ZIP files [CVE-2024-37407]. Fixes: Out of bounds access in RAR files [CVE-2024-48957, CVE-2024-48958]. Fixes: Race condition in multi-threaded systems [CVE-2023-30571]. Fixes: NULL pointer dereference [CVE-2022-36227]. --- gnu/packages/backup.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) base-commit: 2a6d96425eea57dc6dd48a2bec16743046e32e06 prerequisite-patch-id: ecae21ac778a87cc06da1605938183a6d068b4e0 prerequisite-patch-id: 556d0786c44ebcc378f5a35ba582d6b3c98d44a2 prerequisite-patch-id: 13d32cd5a82d8f7092c058d31369dbeda68dc472 prerequisite-patch-id: 9e85b59d6e53ffb000d6e3f9fe2d317190a9cd97 prerequisite-patch-id: df8a3ab92c9a09f631eb1d4fd109813ba6a79ab9 prerequisite-patch-id: dcffb45b7cd5a54797227bb7b92c528dddd5c7a2 diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 0973c5ddca..22c1ef64e9 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -262,6 +262,7 @@ (define-public hdup (define-public libarchive (package (name "libarchive") + (replacement libarchive/fixed) (version "3.6.1") (source (origin @@ -351,6 +352,22 @@ (define-public libarchive @command{bsdcat}, @command{bsdcpio} and @command{bsdtar} commands.") (license license:bsd-2))) +(define-public libarchive/fixed + (package + (inherit libarchive) + (version "3.7.7") + (source + (origin + (method url-fetch) + (uri (list (string-append "https://libarchive.org/downloads/libarchive-" + version ".tar.xz") + (string-append "https://github.com/libarchive/libarchive" + "/releases/download/v" version "/libarchive-" + version ".tar.xz"))) + (sha256 + (base32 + "1vps57mrpqmrk4zayh5g5amqfq7031s5zzkkxsm7r71rqf1wv6l7")))))) + (define-public rdup (package (name "rdup")