From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 iFw9GsB9Kmb32QAAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Apr 2024 17:58:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iFw9GsB9Kmb32QAAqHPOHw (envelope-from ) for ; Thu, 25 Apr 2024 17:58:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=aQ65pT8h; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714060736; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=vzIMD86nCHAvpaNMSERVLroZEb9eDbw5S5WjGkM6fNM=; b=r17d8AbUcYcXoEwsMCG6lxRhI/NcfDY7Tn39P5OofVtGBK0JpOOvtpSDw2uqLYYVd0WJx9 Olc3SyZNL5P6rAeGbKlkvwmQ6bwoSvnLcPH3nO7ZJPPhFcyugOvNRmOedWUtk7g/sJJMpg YahNms3dPGol17X0qDA0CW6oXqaFaUGNqAPyKBoYWD9RkozNPnGomlYufYfQ6OCjqg2tIr rgK6sBnCyh9UCdqj+p7cCIt3nEEZd8gWkhj4ReoKdkbJdzxF9xu9A77wimvYly5Lp25rf6 oM0aClphJEv3tbIKnkLSL7k030zv+3yEYfioyLQdVvO7l/rAj8DEn3uETIDR4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714060736; a=rsa-sha256; cv=none; b=hn+pQC7GRB2qekw52LSheDHFsJjJq5Ed3R8rGMYNMkUUlV3YyBI73tOpG7XItb59uQHcjo uPKqNlDya7CiEnPwcvxCnylNfT4sfFBiuzHEVZVdyPecqkkg5BOOolEI22tbWgnglKQnXz nHStGLjr7uDAeSAjyOk3A/jr0twrWi3xNyTGS4nm6b5NJFprotJuv8IyBkvXZdq36QqVjZ yBy7KZVUTK9mbjwrS9RUu9D6Fk9LDmvXYzdrbO1Gfyax95CD/2v7PkPhiaQQtjtDqC3ON2 k9voS/DCXgxhS3ffsfve2V8/5q5FkKc6sxBc/cmugx3qfc7DsBm5/CDJLQ6grA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=aQ65pT8h; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) 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 2540A10278 for ; Thu, 25 Apr 2024 17:58:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s01UI-0000sx-Ah; Thu, 25 Apr 2024 11:58:18 -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 1s01UF-0000sU-Iu for guix-patches@gnu.org; Thu, 25 Apr 2024 11:58:15 -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 1s01UE-00035Z-V2 for guix-patches@gnu.org; Thu, 25 Apr 2024 11:58:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s01UW-00078A-In for guix-patches@gnu.org; Thu, 25 Apr 2024 11:58:32 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70569] [PATCH 2/3] gnu: nss: Graft with version 3.98 [security fixes]. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Apr 2024 15:58:32 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70569 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70569@debbugs.gnu.org Cc: john.kehayias@protonmail.com, Maxim Cournoyer Received: via spool by 70569-submit@debbugs.gnu.org id=B70569.171406065026771 (code B ref 70569); Thu, 25 Apr 2024 15:58:32 +0000 Received: (at 70569) by debbugs.gnu.org; 25 Apr 2024 15:57:30 +0000 Received: from localhost ([127.0.0.1]:33127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s01TM-0006w6-Lw for submit@debbugs.gnu.org; Thu, 25 Apr 2024 11:57:28 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:55784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s01SG-0006ii-LU for 70569@debbugs.gnu.org; Thu, 25 Apr 2024 11:56:24 -0400 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-790605809cbso85878085a.3 for <70569@debbugs.gnu.org>; Thu, 25 Apr 2024 08:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714060549; x=1714665349; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vzIMD86nCHAvpaNMSERVLroZEb9eDbw5S5WjGkM6fNM=; b=aQ65pT8hig15aL7MWn11uvwtfdsleTkzWfRfTaupMZJlBTqVNEGt2M18d0l++k1ZdB FH1/C0breblj3nC7nlOx9aFffuZ1+jMNh70F7JytPsvKBTO2n3tmlZmGT1HRyYKxaoKu 2WeALprhv3PTcvZwRFc0RhlvFY2Yw5gDF/x7vIqeC9yJiPQHl9MO3N0+DDzCPz/O8ZLX NhTpYnn9/WozMa6LMciIMIoW0M4FXuNqUhCUvftkOUY358ioe830xi5lK0o1sumzMerU dEj1LFpoqavalEplpMoqjq58myunn0zIgcI2ucFRRwSS9sB9IZyikZZrD0MIeUqWzJbi s2/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714060549; x=1714665349; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vzIMD86nCHAvpaNMSERVLroZEb9eDbw5S5WjGkM6fNM=; b=QUK2Njtb8qi1zH9aXnCvFq5R2XiGlm1o4jnObe2dZmUtFDpBihHpDuYf93JguewWJF vYjAoGOE+VgO2BGl9ejYMRWhij2deACdFbzeu/VDagfxKS49mauqnmZqBUs4+1JGUNyR YPNG3W+yHn6np+qKSzGR7dNY5bFpOlpi5Agw2SWnzIJb1OxunTDbMNf1B+CAuZxYsB95 SSgu4DcQPs+GHvC8GlfuocFZhUOu6L4R4Xp8zux5CM2Mk8MKJAHP7dLK8APBwMoF+O0R GDvw9IOl452vNscQP1xhKHYJZyOWjU9SGVXXUKo+e6JQ8QqoHRx4tVBUs94Si5TpTjF2 K6Uw== X-Gm-Message-State: AOJu0YxyWaKGa7p/qnn9uQTsKnWVZ8bwbe0wC2EjBBwuoXKRndWctZW3 +s31npWZX09e3dlkh/+LigKcwhT+4Ipn6OmS1S+svpDnIRcnj6MDaXTtYg== X-Google-Smtp-Source: AGHT+IFW0nsVuASOka/u8m7yaKqfwFSdgFVkvPieqQnG52vSitK48RaYE43egMXPFA4SXguLnGlINg== X-Received: by 2002:a05:620a:40c3:b0:790:a727:8f60 with SMTP id g3-20020a05620a40c300b00790a7278f60mr559889qko.9.1714060548711; Thu, 25 Apr 2024 08:55:48 -0700 (PDT) Received: from localhost.localdomain (dsl-205-233-124-191.b2b2c.ca. [205.233.124.191]) by smtp.gmail.com with ESMTPSA id xx24-20020a05620a5d9800b0078f1583f724sm6464519qkn.59.2024.04.25.08.55.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 08:55:48 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 25 Apr 2024 11:54:29 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.79 X-Spam-Score: -4.79 X-Migadu-Queue-Id: 2540A10278 X-Migadu-Scanner: mx13.migadu.com X-TUID: 27DS1x6Icum5 This fixes CVE-2023-5388, CVE-2023-6135 and CVE-2024-0743. * gnu/packages/nss.scm (nss) [replacement]: New field. (nss-3.98): Rename variable to... (nss/fixed): ... this. Make it a hidden package. * gnu/packages/librewolf.scm (librewolf) [inputs]: Replace nss-3.98 with nss/fixed. Change-Id: I8cc667c53a270dfe00738bf731923f1342036624 --- gnu/packages/librewolf.scm | 2 +- gnu/packages/nss.scm | 71 ++++++++++++++++++++------------------ 2 files changed, 38 insertions(+), 35 deletions(-) diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm index 87b76c661f..1717bad0b5 100644 --- a/gnu/packages/librewolf.scm +++ b/gnu/packages/librewolf.scm @@ -581,7 +581,7 @@ (define-public librewolf mesa mit-krb5 nspr - nss-3.98 + nss/fixed pango pciutils pipewire diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index a2843be17a..8f6ed06e63 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -110,6 +110,7 @@ (define-public nss ;; version and source to avoid a top-level variable reference & module ;; cycle. (version "3.88.1") + (replacement nss/fixed) (source (origin (method url-fetch) (uri (let ((version-with-underscores @@ -248,38 +249,40 @@ (define-public nss security standards.") (license license:mpl2.0))) -(define-public nss-3.98 - (package - (inherit nss) - (version "3.98") - (source (origin - (inherit (package-source nss)) - (uri (let ((version-with-underscores - (string-join (string-split version #\.) "_"))) - (string-append - "https://ftp.mozilla.org/pub/mozilla.org/security/nss/" - "releases/NSS_" version-with-underscores "_RTM/src/" - "nss-" version ".tar.gz"))) - (sha256 - (base32 - "1kh98amfklrq6915n4mlbrcqghc3srm7rkzs9dkh21jwscrwqjgm")))) - (arguments - (substitute-keyword-arguments (package-arguments nss) - ((#:phases phases) - #~(modify-phases #$phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - (begin - ;; Use 127.0.0.1 instead of $HOST.$DOMSUF as HOSTADDR for - ;; testing. The latter requires a working DNS or /etc/hosts. - (setenv "DOMSUF" "localdomain") - (setenv "USE_IP" "TRUE") - (setenv "IP_ADDRESS" "127.0.0.1") +(define-public nss/fixed + (let ((actual-version "3.98")) + (hidden-package + (package + (inherit nss) + (version (string-append actual-version ".0")) ;for grafts requirements + (source (origin + (inherit (package-source nss)) + (uri (let ((version-with-underscores + (string-join (string-split actual-version #\.) "_"))) + (string-append + "https://ftp.mozilla.org/pub/mozilla.org/security/nss/" + "releases/NSS_" version-with-underscores "_RTM/src/" + "nss-" actual-version ".tar.gz"))) + (sha256 + (base32 + "1kh98amfklrq6915n4mlbrcqghc3srm7rkzs9dkh21jwscrwqjgm")))) + (arguments + (substitute-keyword-arguments (package-arguments nss) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (begin + ;; Use 127.0.0.1 instead of $HOST.$DOMSUF as HOSTADDR for + ;; testing. The latter requires a working DNS or /etc/hosts. + (setenv "DOMSUF" "localdomain") + (setenv "USE_IP" "TRUE") + (setenv "IP_ADDRESS" "127.0.0.1") - ;; The "PayPalEE.cert" certificate expires every six months, - ;; leading to test failures: - ;; . To - ;; work around that, set the time to roughly the release date. - (invoke "faketime" "2024-01-23" "./nss/tests/all.sh")) - (format #t "test suite not run~%")))))))))) + ;; The "PayPalEE.cert" certificate expires every six months, + ;; leading to test failures: + ;; . To + ;; work around that, set the time to roughly the release date. + (invoke "faketime" "2024-01-23" "./nss/tests/all.sh")) + (format #t "test suite not run~%")))))))))))) -- 2.41.0